groupby in pandas without adding the key to the group

前端 未结 0 2018
栀梦
栀梦 2021-01-02 09:48

I am trying to groupby a pandas df so that it keeps the key as index but it doesn\'t include the key in each group.

Here is an example of what I mean.

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