How to add an Auto Incementing column in a dataframe based on another column

后端 未结 0 916
北恋
北恋 2021-01-15 19:26

I have a pyspark dataframe similar to below:

order_id    item    qty
123          abc    1
123          abc1   4
234          abc2   5
234          abc3   2
2         


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