staircase.mean#

staircase.mean(collection)#

Returns a staircase.Stairs object representing the mean of multiple step functions.

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

The Stairs instances to aggregate

Returns
Stairs

Examples

>>> import staircase as sc
>>> arr = [s1, s2]
../../_images/staircase-mean-1.png