bandicoot.helper.group.
statistics
(data, summary='default', datatype=None)¶Return statistics (mean, standard error, standard error and median, min and max) on data metrics.
Examples
Given a list of integers or floating point numbers,
statistics
computes the mean and standard error of the mean,
and the min and max.
>>> statistics([0, 1, 2, 3])
{'mean': 1.5, 'std': 1.2910, 'min': 0, 'max': 3}
Given a list of SummaryStats
tuples, the function will
returns the mean, standard error of the mean, min and max for each attribute
of the tuples.