How to combine two Spark RDD list into a list of tuple

前端 未结 0 914
难免孤独
难免孤独 2020-12-10 10:34

I have two RDDs and I will like to combine them together using pyspark first_rdd = [\'Mike\', \'Kate\', \'Robert\'] second_rdd = [23, 45, 67]

result = [(\'Mike\', 23)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题