scipy stats.mode() function | Python
scipy.stats.mode(array, axis=0) function calculates the mode of the array elements along the specified axis of the array (list in python). Its formula - where, l : Lower Boundary of modal class h : Size of modal class fm : Frequency corresponding to modal class f1 : Frequency preceding to modal clas