polars.max

polars.max(column: Union[str, List[Union[str, polars.internals.expr.Expr]]]) polars.internals.expr.Expr
polars.max(column: polars.internals.series.Series) Union[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. input: - Union[str, Series] -> aggregate the maximum value of that column. - List[Expr] -> aggregate the maximum value horizontally.