pandera.api.checks.Check.less_than_or_equal_to#
- classmethod Check.less_than_or_equal_to(max_value, **kwargs)[source]#
Ensure values of a series are strictly below a maximum value.
- Parameters
max_value (
Any
) – Upper bound not to be exceeded. Must be a type comparable to the dtype of thepandas.Series
to be validated.- Return type