pyspark.sql.functions.cume_dist

pyspark.sql.functions.cume_dist() → pyspark.sql.column.Column

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