How can I restructure a dataframe in pandas?

后端 未结 0 1677
北恋
北恋 2021-02-01 10:15

I\'m relatively new to pandas and I am stuck on how to restructure a dataframe. Here is a very simplified example of what I want to do:

My current df is:

N         


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