Slicing

StairsSlicer.integral()

Calculates the integral of each step function slice

StairsSlicer.mean()

Calculates the mean of each step function slice

StairsSlicer.median()

Calculates the median of each step function slice

StairsSlicer.mode()

Calculates the mode of each step function slice

StairsSlicer.max()

Calculates the max of each step function slice

StairsSlicer.min()

Calculates the min of each step function slice

StairsSlicer.agg(funcs)

Facilitates multiple aggregations applied at once

StairsSlicer.apply(func, *args, **kwargs)

Applies a method to each step function slice

StairsSlicer.hist(*args, **kwargs)

Calculates histogram data for each of the step function slices

StairsSlicer.resample(func)

Creates a new step function by applying a function to the step function slices, and replacing the slices with the new values.