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 to_datetime with np.datetime64[ps] giving wrong conversion #60342

Merged
merged 4 commits into from
Nov 20, 2024

Conversation

yuanx749
Copy link
Contributor

@yuanx749 yuanx749 commented Nov 17, 2024

@WillAyd
Copy link
Member

WillAyd commented Nov 19, 2024

Nice catch! Can you add a whatsnew note for this to our v3.0.0 documentation?

@yuanx749
Copy link
Contributor Author

Nice catch! Can you add a whatsnew note for this to our v3.0.0 documentation?

Sure. I've added a note.

@WillAyd WillAyd added this to the 3.0 milestone Nov 20, 2024
@WillAyd WillAyd merged commit 0e20990 into pandas-dev:main Nov 20, 2024
51 checks passed
@WillAyd
Copy link
Member

WillAyd commented Nov 20, 2024

Awesome work - thanks @yuanx749

@yuanx749 yuanx749 deleted the np_datetime-ps branch November 20, 2024 15:15
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.

BUG: to_datetime wraps datetime64[ps] as if it were datetime64[ns]
2 participants