staircase.Stairs.step_changes
staircase.Stairs.negate
Staircase is built upon Grant Jenks' Python Sorted Containers. Please consider financial support for that project:
Give to Python Sorted Containers
Stairs.
to_dataframe
Returns a pandas.DataFrame with columns ‘start’, ‘end’ and ‘value’
The rows of the dataframe can be interpreted as the interval definitions which make up the step function.
pandas.DataFrame