Compute the mean of this RDDs elements.

30

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

Comments

Submit
0 Comments