staircase.mean

staircase.mean(collection)

Takes a collection of Stairs instances and returns the mean of the corresponding step functions.

Parameters
collectiontuple, list, numpy array, dict or pandas.Series

The Stairs instances to aggregate using a mean function

Returns
Stairs

See also

staircase.aggregate, staircase.median, staircase.min, staircase.max

Examples

../../_images/staircase-mean-1.png