How do I calculate a column with a initial value in python

后端 未结 0 1894
星月不相逢
星月不相逢 2021-02-06 16:07

I have a dataframe (df) like below:

Date      rtns
10/1/2000  NaN
11/1/2000  0.015
12/1/2000  -0.007

I want to add a column "accumulated val

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