Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pyspark.RDD.mean#

RDD.mean()[source]#

Compute the mean of this RDD’s elements.

New in version 0.9.1.

Returns
float

the mean of all elements

Examples

>>>sc.parallelize([1,2,3]).mean()2.0

[8]ページ先頭

©2009-2025 Movatter.jp