Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyspark rdd filter

kv_RDD.filter(lambda x: x[1] > 0)  # keep only positive temperatures
Source by www.alpha-epsilon.de #
 
PREVIOUS NEXT
Tagged: #pyspark #rdd #filter
ADD COMMENT
Topic
Name
5+7 =