Skip to content

Conversation

@Alvaro-Kothe
Copy link
Member


This PR makes maybe_convert_numeric be able to convert into python integers using object dtype on overflow. When using coerce_numeric it stills converts to float numbers.

The combination of this PR, #62623 and #62582 closes #51295.

@mroeschke mroeschke added the Dtype Conversions Unexpected or buggy dtype conversions label Oct 27, 2025
@mroeschke mroeschke added this to the 3.0 milestone Oct 27, 2025
@mroeschke mroeschke merged commit 0350b56 into pandas-dev:main Oct 27, 2025
51 of 52 checks passed
@mroeschke
Copy link
Member

Thanks @Alvaro-Kothe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dtype Conversions Unexpected or buggy dtype conversions Enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: read_csv() fails to detect floats larger than 2.0^64

2 participants