Skip to content

Fix DataFrame.cumsum failing when dtype is timedelta64[ns] #58028

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

Merged
merged 4 commits into from
Mar 28, 2024

Conversation

Aloqeely
Copy link
Member

Copy link
Member

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a whatsnew note in v3.0.0.rst?

@mroeschke mroeschke added Timedelta Timedelta data type Reduction Operations sum, mean, min, max, etc. labels Mar 27, 2024
Aloqeely and others added 2 commits March 27, 2024 21:14
@mroeschke mroeschke added this to the 3.0 milestone Mar 28, 2024
@mroeschke mroeschke merged commit 3904711 into pandas-dev:main Mar 28, 2024
46 checks passed
@mroeschke
Copy link
Member

Thanks @Aloqeely

pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
…v#58028)

* Fix DataFrame.cumsum failing when dtype is timedelta64[ns]

* Pre-commit

* Remove comment

Co-authored-by: Matthew Roeschke <[email protected]>

* Update whatsnew

---------

Co-authored-by: Abdulaziz Aloqeely <[email protected]>
Co-authored-by: Matthew Roeschke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reduction Operations sum, mean, min, max, etc. Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: IndexError with pandas.DataFrame.cumsum where dtype=timedelta64[ns]
2 participants