Pyspark < 2.4 : How to zip two columns, explode them and finally pivot

前端 未结 0 1416
失恋的感觉
失恋的感觉 2021-01-23 00:28

I have two array columns(names, score). I need to explode both of them. Make names as column name for score(similar to pivot).

+------------+---------------------         


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