pyspark.sql.functions.mean

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

Aggregate function: returns the average of the values in a group.