Answers for "Return an RDD with the values of each tuple"

0

Return an RDD with the values of each tuple

# values()

m = sc.parallelize([(1, 2), (3, 4)]).values()
m.collect()
# [2, 4]
Posted by: Guest on March-12-2020

Code answers related to "Return an RDD with the values of each tuple"

Python Answers by Framework

Browse Popular Code Answers by Language