DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Compute the variance of this RDD’s elements
# variance() m = sc.parallelize([1, 2, 3]).variance() # 0.666...
Source by spark.apache.org #
PREVIOUS
NEXT
Tagged:
#Compute
#variance
#elements
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit