RDD.
variance
Compute the variance of this RDD’s elements.
Examples
>>> sc.parallelize([1, 2, 3]).variance() 0.666...
previous
pyspark.RDD.values
next
pyspark.RDD.withResources