-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REF: dispatch TDBlock.to_native_types to TDA._format_native_types #33270
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
REF: dispatch TDBlock.to_native_types to TDA._format_native_types #33270
Conversation
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.
this is changing the output format from the truncated (e.g. 1 days to, to the full, e.g. 1 days 00:00:00.000000).
I don't think that is actually desiriable as this affects the display in csv and in a series/dataframe.
I guess this is not really tested aside from the tests you changed.
We correctly handle this for datetimes, so must be some slightly differing path.
…ock-to_native_types-tdblock
If we don't want to change the DataFrame/to_csv behavior, we could add the "0 days" back in to the TDI/TDA behavior. That only requires changing 2 tests (both of which are directly testing Timedelta64Formatter) |
i think that would be better to add back to TDIFormatter |
updated |
…ock-to_native_types-tdblock
nice! |
No description provided.