pyspark.RDD.stdev — PySpark 3.5.5 documentation (original) (raw)
Compute the standard deviation of this RDD’s elements.
New in version 0.9.1.
Returns
float
the standard deviation of all elements
Examples
sc.parallelize([1, 2, 3]).stdev() 0.816...