staircase.StairsArray.agg#

StairsArray.agg(func)#

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

Returns
Stairs

Examples

>>> import numpy as np
>>> import staircase as sc
>>> arr = sc.StairsArray([s1,s2])
../../_images/staircase-StairsArray-agg-1.png