PolicyEngine / microdf

Analysis tools for working with survey microdata as DataFrames.
http://pslmodels.github.io/microdf
MIT License
12 stars 10 forks source link

MicroSeries.cumsum #186

Closed MaxGhenis closed 3 years ago

MaxGhenis commented 3 years ago

Doesn't currently work:

mdf.MicroSeries([1, 2, 3], weights=[4, 5, 6]).cumsum()

produces:

0    1
1    3
2    6