Summarise based on number of observations per year in a time-series

前端 未结 0 1713
小蘑菇
小蘑菇 2021-01-24 18:22

I\'ve got a long dataframe like this:

 year   value  town
 2001   0.15   ny
 2002   0.19   ny
 2002   0.14   ca
 2001   NA     ny 
 2002   0.15   ny
 2002   0.12          


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