pandera.core.checks.Check.le#

classmethod Check.le(cls, 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 the pandas.Series to be validated.

  • kwargs (Dict[str, Any]) – arguments forwarded to the Check constructor.

Return type

Check