Stats Module
datachart.utils.stats
The module containing the stats
methods.
The stats
module provides methods for calculating statistics.
FUNCTION | DESCRIPTION |
---|---|
count |
Counts the number of elements in the list. |
mean |
Calculatest the mean of the values. |
median |
Calculates the median of the values. |
stdev |
Calculates the standard deviation of the values. |
quantile |
Calculates the quantile of the values. |
minimum |
Gets the minimum of the values. |
maximum |
Gets the maximum of the values. |
Functions
datachart.utils.stats.count
datachart.utils.stats.mean
datachart.utils.stats.median
datachart.utils.stats.stdev
datachart.utils.stats.quantile
Calculates the quantile of the values.
Examples:
PARAMETER | DESCRIPTION |
---|---|
values
|
The list of values.
TYPE:
|
q
|
The quantile to calculate.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
float
|
The quantile of the values. |