polars.Expr.upper_bound

Expr.upper_bound() polars.internals.expr.Expr

Returns a unit Series with the highest value possible for the dtype of this expression.