Calcule la varianza de estos elementos RDDS
# variance()
m = sc.parallelize([1, 2, 3]).variance()
# 0.666...
Ethercourt.ml
# variance()
m = sc.parallelize([1, 2, 3]).variance()
# 0.666...
sc.parallelize([1, 2, 3]).mean()
# 2.0