-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Bug: to_csv coercing datetime columns to same format #44964
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
phofl
commented
Dec 18, 2021
- closes Datetimes are inconsistently truncated in to_csv #21734
- tests added / passed
- Ensure all linting tests pass, see here for how to run them
- whatsnew entry
pandas/core/internals/blocks.py
Outdated
result = values._format_native_types(na_rep=na_rep, **kwargs) | ||
result = result.astype(object, copy=False) | ||
return result | ||
# GH#21734 Process every column separate, they migh have different formats |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
separate -> separately, migh-> might
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx, fixed
@phofl the web & docs build failed but hard to tell why, can you rebase |
The web and docs failure was unrelated. An inventory was not available. greenish |