DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Return the number of elements in this RDD.
sc.parallelize([2, 3, 4]).count() # 3
Source by spark.apache.org #
PREVIOUS
NEXT
Tagged:
#Return
#number
#elements
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit