-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature/cumsum #1988
feature/cumsum #1988
Conversation
Codecov ReportPatch coverage is ❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
📢 Thoughts on this report? Let us know!. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for this PR @Eliotdoesprogramming 🚀
I added some suggestions, mainly that I would opt for dropping support for n
in cumsum.
After that we can merge :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Eliotdoesprogramming for this PR, looks great now 🚀
I applied the requested changes as we want to release the new version soon.
np thanks for doing it! I get a bit busy during the week. Happy to contribute |
Fixes #1981
Summary
adds the cumsum function to the Timeseries class. Implementation uses the xarray implementation of cumsum.
Additionally adds unit tests for the cumsum function when n=1 and n=2
let me know if this needs any more refinement, thanks!