How to keep only the first 10 rows of each group of a dataframe

后端 未结 0 780
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-02 13:48

I have a dataframe with CO2 emissions for each country by year. I wanted to get the top ten emitters per year and then count how many times they appear on the top ten list o

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