Skip to content
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

BUG: Fix bug in to_datetime that occasionally throws FloatingPointErr… #61022

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snitish
Copy link
Contributor

@snitish snitish commented Mar 1, 2025

…or when called on a float array with missing values

The cause of the error is a numpy array created via np.empty(). Sometimes it contains garbage values which subsequently get passed to np.round causing errors.

…or when called on a float array with missing values
@snitish snitish requested a review from MarcoGorelli as a code owner March 1, 2025 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant