pandera.Check.le

classmethod Check.le(cls, max_value, **kwargs)

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

Check

Returns

Check object