pyspark.RDD.stdev

RDD.stdev()[source]

Compute the standard deviation of this RDD’s elements.

Examples

>>> sc.parallelize([1, 2, 3]).stdev()
0.816...