python list apply aggregate functions code example

Example: python list of aggregate functions

Function	Description
count : Number of non-null observations
sum	: Sum of values
mean : Mean of values
mad	: Mean absolute deviation
min	: Minimum
max	: Maximum
mode : Mode
abs : Absolute Value
prod : Product of values
std	: Unbiased standard deviation
var	: Unbiased variance
sem	: Unbiased standard error of the mean
skew : Unbiased skewness (3rd moment)
kurt : Unbiased kurtosis (4th moment)
quantile : Sample quantile (value at %)
cumsum : Cumulative sum
cumprod : Cumulative product
cummax : Cumulative maximum
cummin	: Cumulative minimum