Python statistics Module


Python statistics Module

Python has a built-in module that you can use to calculate mathematical statistics of numeric data.

The statistics module was new in Python 3.4.


Statistics Methods

Method Description
Calculates the harmonic mean (central location) of the given data
Calculates the mean (average) of the given data
Calculates the median (middle value) of the given data
Calculates the median of grouped continuous data
Calculates the high median of the given data
Calculates the low median of the given data
Calculates the mode (central tendency) of the given numeric or nominal data
Calculates the standard deviation from an entire population
Calculates the standard deviation from a sample of data
Calculates the variance of an entire population
Calculates the variance from a sample of data


Login
ADS CODE