polars.Series.clip_max#

Series.clip_max(
upper_bound: NumericLiteral | TemporalLiteral | IntoExprColumn,
) Series[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.