Pandas, multi-groupby rolling with order column

前端 未结 0 1297
难免孤独
难免孤独 2020-12-18 05:31

I\'d like to get a rolling mean for 2 years on the industry level, for a time-series as follows:

    firm industry year roe
    A agri 1992 0.05
    B agri 19         


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