Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pyspark.RDD.variance#

RDD.variance()[source]#

Compute the variance of this RDD’s elements.

New in version 0.9.1.

Returns
float

the variance of all elements

Examples

>>>sc.parallelize([1,2,3]).variance()0.666...

[8]ページ先頭

©2009-2025 Movatter.jp