polars.max#

polars.max(column: Union[str, Sequence[str | polars.internals.expr.expr.Expr]]) Expr[source]#
polars.max(column: Series) int | float

Get the maximum value. Can be used horizontally or vertically.

Parameters:
column

Column(s) to be used in aggregation. Will lead to different behavior based on the input: - Union[str, Series] -> aggregate the maximum value of that column. - List[Expr] -> aggregate the maximum value horizontally.