staircase.max

staircase.max(collection)

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

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

The Stairs instances to aggregate using a maximum function

Returns
Stairs

See also

staircase.aggregate, staircase.mean, staircase.median, staircase.min

Examples

../../_images/staircase-max-1.png