pyspark.sql.functions.max

pyspark.sql.functions.max(col: ColumnOrName) → pyspark.sql.column.Column[source]

Aggregate function: returns the maximum value of the expression in a group.

New in version 1.3.