Skip to content

str for NaT is garbage #5708

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

Closed
cancan101 opened this issue Dec 16, 2013 · 0 comments · Fixed by #5701
Closed

str for NaT is garbage #5708

cancan101 opened this issue Dec 16, 2013 · 0 comments · Fixed by #5701
Labels
Datetime Datetime data dtype Output-Formatting __repr__ of pandas objects, to_string Timedelta Timedelta data type
Milestone

Comments

@cancan101
Copy link
Contributor

In [12]: str(pd.NaT)
Out[12]: '0001-255-255 00:00:00'

where as:

In [13]: repr(pd.NaT)
Out[13]: 'NaT'

I will fix this as part of #5701

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Output-Formatting __repr__ of pandas objects, to_string Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant