pyspark.RDD.stdev

RDD.stdev() → NumberOrArray[source]

Compute the standard deviation of this RDD’s elements.

Examples

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