Sorting(decreasing ord) a dataframe.groupby according to a column value

后端 未结 0 1468
旧巷少年郎
旧巷少年郎 2020-12-24 10:41

I have a dataframe as below:

col1=[1,1,1,2,2,2,3,3,3]
col2=[\'a\',\'b\',\'c\',\'d\',\'e\',\'f\',\'g\',\'h\',\'i\']
col3=[1,2,3,2,3,1,3,1,2]
d={
    "col1         


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