pyspark.sql.functions.
cume_dist
Window function: returns the cumulative distribution of values within a window partition, i.e. the fraction of rows that are below the current row.
previous
pyspark.sql.functions.variance
next
pyspark.sql.functions.dense_rank