polars.Expr.clip_max#

Expr.clip_max(upper_bound: NumericLiteral | TemporalLiteral | IntoExprColumn) Self[source]#

Clip (limit) the values in an array to a max boundary.

Deprecated since version 0.19.12: Use clip() instead.

Parameters:
upper_bound

Upper bound.