RDD.
values
Return an RDD with the values of each tuple.
New in version 0.7.0.
RDD
a RDD only containing the values
See also
RDD.keys()
Examples
>>> rdd = sc.parallelize([(1, 2), (3, 4)]).values() >>> rdd.collect() [2, 4]