Merging rows when some columns are the same using Pandas Python

前端 未结 0 1629
面向向阳花
面向向阳花 2021-01-14 11:41

Now I have a dataframe, I want to merge rows. The value B is determined by the order in the strings in a list L = [\'xx\',\'yy\',\'zz\']

    A   B
0   a   xx
         


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