Loop 3 times and add a new value each time to a new column in spark DF

后端 未结 0 818
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 23:23

I want create 3 rows for every row in pysaprk DF. I wan to add a new column called loopVar=(val1,val2,val3). Three different values must be added as a value in each loop.

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