Skip to content

BUG: dt.days for timedelta non-nano overflows int32 #52391

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 19 commits into from
Apr 14, 2023

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke added Timedelta Timedelta data type Non-Nano datetime64/timedelta64 with non-nanosecond resolution labels Apr 4, 2023
@mroeschke mroeschke added this to the 2.0.1 milestone Apr 4, 2023
@mroeschke
Copy link
Member Author

Going to merge as the checks are green, but can address any follow ups

@mroeschke mroeschke merged commit 5b525b4 into pandas-dev:main Apr 14, 2023
@mroeschke mroeschke deleted the bug/dt_attr/non-nano branch April 14, 2023 17:48
meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Apr 14, 2023
mroeschke added a commit that referenced this pull request Apr 15, 2023
…no overflows int32) (#52673)

* Backport PR #52391: BUG: dt.days for timedelta non-nano overflows int32

* fix test_map

---------

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
Non-Nano datetime64/timedelta64 with non-nanosecond resolution Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Values in DataTimeProperties.days overflowing due to int32 restriction in pandas-2.0
4 participants