Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pyspark.RDD.values#

RDD.values()[source]#

Return an RDD with the values of each tuple.

New in version 0.7.0.

Returns
RDD

aRDD only containing the values

See also

RDD.keys()

Examples

>>>rdd=sc.parallelize([(1,2),(3,4)]).values()>>>rdd.collect()[2, 4]

[8]ページ先頭

©2009-2025 Movatter.jp