DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Find the minimum item in this RDD
rdd = sc.parallelize([2.0, 5.0, 43.0, 10.0]) rdd.min() # 2.0 rdd.min(key=str) # 10.0
Source by spark.apache.org #
PREVIOUS
NEXT
Tagged:
#Find
#minimum
#item
#RDD
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit