staircase.Stairs.step_changes#

property Stairs.step_changes#

A pandas Series of key, value pairs of indicating where step changes occur in the step function, and the change in value

Returns
pandas.Series

Examples

>>> s1.plot()
>>> s1.step_changes
1    1
2   -1
3    1
4   -2
5    1
dtype: int64
../../_images/staircase-Stairs-step_changes-1.png