pyspark.sql.functions.
max
Aggregate function: returns the maximum value of the expression in a group.
previous
pyspark.sql.functions.last
next
pyspark.sql.functions.max_by