pyspark.sql.functions.sumDistinct

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

Aggregate function: returns the sum of distinct values in the expression.

Deprecated since version 3.2.0: Use sum_distinct() instead.

New in version 1.3.