Compute the mean of this RDD's elements.
(Experimental) Approximate operation to return the mean within a timeout.
Compute the sample standard deviation of this RDD's elements (which corrects for bias in estimating the standard deviation by dividing by N-1 instead of N).
Return a StatCounter object that captures the mean, variance and count of the RDD's elements in one operation.
Compute the standard deviation of this RDD's elements.
Add up the elements in this RDD.
(Experimental) Approximate operation to return the sum within a timeout.
Compute the variance of this RDD's elements.
Extra functions available on RDDs of Doubles through an implicit conversion. Import
spark.SparkContext._
at the top of your program to use these functions.