-
Notifications
You must be signed in to change notification settings - Fork 23
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
Cumulative sum on a TSFrame #205
Comments
hi @chiraganand cumsum seems not be implemented in the package (?) . I can start implementing it. Can you please assign me this task? |
@Prajna1999 You can assign the task to yourself and submit a PR. I can review it. |
@chiraganand Base.cumsum for vectors only works along one dimension. So we cannot directly use ts as an Array-like argument for TSFrame object. For instance for a random TSFrame object
To cumulatively sum row wise for x2 column, you need to call `
do you want a custom cumsum for TSFrame that would sum across columns? IMO that would make things difficult than a simple for loop accumulator over the underlying dataframe. |
cumsum(ts)
does not work.The text was updated successfully, but these errors were encountered: