How to do a conditional count after groupby on a Pandas Dataframe?

前端 未结 0 2013
我寻月下人不归
我寻月下人不归 2020-12-23 05:16

I have the following dataframe:

   key1  key2
0    a   one
1    a   two
2    b   one
3    b   two
4    a   one
5    c          


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