pandera.checks.Check.lt#

classmethod Check.lt(cls, max_value, **kwargs)[source]#

Ensure values of a series are strictly below a maximum value.

New in version 0.4.5 Alias: lt

Parameters
  • max_value – All elements of a series must be strictly smaller than this. 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