-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Fixed to_datetime for array with both Tz-aware datetimes and NaTs #5962
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
Conversation
pls do a perf check on this solved by doing util._checknull or is NaT full checknull not needed here because u r already know it's not a float |
Okay. I can make that change and then run vbench. FWIW, there are (IMHO) too many version of checknull which leads to errors like this. They are also very poorly documented. |
they certainly could be named better ! u know how it does though u need slightly different versions of a function but code doesn't get cleaned up can change as long as it doesn't affect t perf (sometimes it is better in cython to manually inline thing FYI ) - though harder 2 read and harder to maintain |
``NaT``s (GH5961)
|
and run again (same commit):
|
BUG: Fixed to_datetime for array with both Tz-aware datetimes and NaTs
thanks! |
Closes #5961