pyspark.sql.functions.cume_dist

pyspark.sql.functions.cume_dist()[source]

Window function: returns the cumulative distribution of values within a window partition, i.e. the fraction of rows that are below the current row.

New in version 1.6.