Pandas Groupby Geometric Average?

后端 未结 0 357
执笔经年
执笔经年 2020-12-07 10:03

I\'m trying to calculate the stock returns for my portfolio which requires "geometrically averaging" the percentages by year.

For simplicity, I have a dataf

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