Collapsing a dataframe by doing groupbys on different columns based on unique elements of another column

后端 未结 0 418
再見小時候
再見小時候 2021-01-12 15:18

I have a dataframe that has this structure:

df1 = pd.DataFrame({\'State\':[\'NY\', \'CA\', \'NY\', \'CA\'], \'3/1/20\':[5, 10, 11,7], \'3/2/20\':[11, 13, 2,4],

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