pyspark.sql.functions.max

pyspark.sql.functions.max(col)[source]

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

New in version 1.3.