pyspark.sql.functions.
sum
Aggregate function: returns the sum of all values in the expression.
New in version 1.3.