repeat a row in pandas n times based on the value of other two columns

前端 未结 0 757
栀梦
栀梦 2021-01-16 15:31

I have a pandas data frame with 4 columns, A, B, C, D:

A   B   C   D
1   0   2   ["apple", "pear", "peach"]
2   2   3   ["c         


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