staircase.Stairs.to_dataframe

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.

Returns:
Return type:pandas.DataFrame