compute the mean of this rdd e2 80 99s elements

Solutions on MaxInterview for compute the mean of this rdd e2 80 99s elements by the best coders in the world

showing results for - "compute the mean of this rdd e2 80 99s elements "
Silvia
22 Jun 2018
1sc.parallelize([1, 2, 3]).mean()
2# 2.0