Pandas groupby multiple aggregations with exclusion of the focal group

前端 未结 0 1604
情深已故
情深已故 2020-12-22 20:42

I have a toy dataset like the one below.

    Building    Department  feature1    feature2
0   A   1   14  28
1   A   1   11  26
2   A   1   29  19
3   A   2           


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