pandera.checks.Check.less_than_or_equal_to#
- classmethod Check.less_than_or_equal_to(cls, max_value, **kwargs)[source]#
Ensure values are less than or equal to a maximum value.
New in version 0.4.5 Alias:
le
- Parameters
max_value – Upper bound not to be exceeded. Must be a type comparable to the dtype of the
pandas.Series
to be validated.kwargs – key-word arguments passed into the Check initializer.
- Return type
- Returns
Check
object