Skip to content

[backport 3.0.x] BUG: fix to_timedelta ignoring unit for mixed round/non-round floats (#65170)#65313

Open
jbrockmendel wants to merge 1 commit intopandas-dev:3.0.xfrom
jbrockmendel:backport-65170-3.0.x
Open

[backport 3.0.x] BUG: fix to_timedelta ignoring unit for mixed round/non-round floats (#65170)#65313
jbrockmendel wants to merge 1 commit intopandas-dev:3.0.xfrom
jbrockmendel:backport-65170-3.0.x

Conversation

@jbrockmendel
Copy link
Copy Markdown
Member

Manual backport of #65170 to 3.0.x.

Cherry-pick had trivial conflicts due to the Day-offset handling from GH#64240 (not on 3.0.x) and a one-line uint64_to_timedelta_coerce test tweak for a test that doesn't exist on 3.0.x. Core fix is identical to main.

…non-round floats (pandas-dev#65170)

Manual backport of pandas-dev#65170. Excludes the one-line `uint64_to_timedelta_coerce`
test tweak since that test isn't on 3.0.x.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant