RDD.
stats
Return a StatCounter object that captures the mean, variance and count of the RDD’s elements in one operation.
StatCounter
previous
pyspark.RDD.sortByKey
next
pyspark.RDD.stdev