pyspark.sql.functions.max

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

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