checks.Units
The periods a check tests (the index of values) and what each value must satisfy.
Usage
checks.Units(
values,
test="not_null",
bound=None,
upper=None,
measure="value",
reason=None
)test is not_null; between (bound and upper inclusive; a None side is open); at_most (value <= bound); or above (value > bound). measure says what values holds, for the report. When reason is set the check does not apply and nothing is tested.
Parameter Attributes
values: pd.Seriestest: Test = "not_null"bound: float | None = Noneupper: float | None = Nonemeasure: str = "value"reason: str | None = None