Skip to content

Conversation

skalwaghe-56
Copy link
Contributor

@skalwaghe-56 skalwaghe-56 commented Sep 12, 2025


Fix Timedelta from Tick offsets (e.g., Timedelta(offsets.Hour(1))) giving wrong arithmetic. Hour, Minute, and Second offsets now behave like keyword arguments. Added a test to ensure consistency.

Thanks!

@skalwaghe-56
Copy link
Contributor Author

Dupe of #53643

@skalwaghe-56 skalwaghe-56 deleted the fix-issue-62310 branch September 12, 2025 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frequency DateOffsets Numeric Operations Arithmetic, Comparison, and Logical operations Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Addition/subtracting pd.Timedelta constructed from hour offset gives wrong results
3 participants