pandera.backends.narwhals.builtin_checks.less_than_or_equal_to¶
- pandera.backends.narwhals.builtin_checks.less_than_or_equal_to(col_expr, max_value)[source]¶
Ensure all values are less than or equal to a maximum value.
- Parameters:
col_expr (
Expr) – Narwhals column expression to check.max_value (
Any) – Upper bound not to be exceeded. Must be a type comparable to the dtype of the series to be validated.
- Return type:
Expr