Skip to content
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

[FEA] Series level cumulative sum #1269

Closed
beckernick opened this issue Mar 22, 2019 · 1 comment · Fixed by #1441
Closed

[FEA] Series level cumulative sum #1269

beckernick opened this issue Mar 22, 2019 · 1 comment · Fixed by #1441
Assignees
Labels
1 - On Deck To be worked on next feature request New feature or request

Comments

@beckernick
Copy link
Member

Is your feature request related to a problem? Please describe.
As a user, I want to calculate the cumulative sum of a series. I'd like it to behave like the pandas cumsum method, which can be found here.

Describe the solution you'd like
I'd like to be able to call series.cumsum() and return results consistent with what I would get from calling this on a pandas series.

Describe alternatives you've considered
The alternative is to iterate through each cell in the column, keep a running tally of the sum of values seen so far, and then store that value in a new array.

Additional context
I would think that column-level cumulative sums are more common than row-level cumulative sums, which would make supporting the row-level pattern (axis=1) less important.

@beckernick beckernick added Needs Triage Need team to review and classify feature request New feature or request labels Mar 22, 2019
@datametrician datametrician added 2 - In Progress Currently a work in progress 1 - On Deck To be worked on next and removed Needs Triage Need team to review and classify 2 - In Progress Currently a work in progress labels Apr 8, 2019
@jrhemstad
Copy link
Contributor

Necessary C++ functionality added in #1005

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - On Deck To be worked on next feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants