Pandas: Sort the row counts per group in ascending order

前端 未结 0 945
难免孤独
难免孤独 2021-02-03 12:16

I have a df as below:

In [257]: df
Out[257]: 
   user_id col1       col2
0        1    A    4.00000
1        1    A   22.00000
2        1    A  112.0         


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