pandera.api.checks.Check.less_than#
- classmethod Check.less_than(max_value, **kwargs)[source]#
Ensure values of a series are strictly below a maximum value.
- Parameters
max_value (
Any
) – All elements of a series must be strictly smaller than this. Must be a type comparable to the dtype of thepandas.Series
to be validated.- Return type