Module stats

Module stats 

Source

Functionsยง

average
Returns the average value of the given data set, or None if data is empty.
majority
Returns the majority value of the given data set, or None if there is no majority.
median_by
Returns the median value using the given compare function, or None if data is empty.
median_float
Returns the median value of the given data set, or None if data is empty.
median_integer
Returns the median value of the given data set, or None if data is empty.