User GuideΒΆ

The code examples in the user guide assume the following setup:

>>> import staircase as sc
>>> import pandas as pd
>>> import numpy as numpy
>>> import matplotlib.pyplot as plt


Thinking in step functions

A note on interval endpoints

The layer method

Working with dates

Masking

Slicing

Distribution of values

Array methods

Gotchas

Frequently asked questions

Cookbook