checks.Context
What a check may need beyond the series itself.
Usage
checks.Context(
frequency=None, role="other", previous=None, excluded=frozenset()
)frequency is "M", "Q" or "Y" (read from the index when unset); role the series’ role; previous the same series in the previous vintage; excluded the periods a treatment excluded, which no check counts against the series.
Parameter Attributes
frequency: str | None = Nonerole: str = "other"previous: pd.Series | None = Noneexcluded: frozenset[pd.Period] = frozenset()