-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Improve Table to/from pandas #8247
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8247 +/- ##
==========================================
+ Coverage 86.91% 86.92% +0.01%
==========================================
Files 383 384 +1
Lines 57889 57995 +106
Branches 1056 1060 +4
==========================================
+ Hits 50313 50412 +99
- Misses 6962 6968 +6
- Partials 614 615 +1
Continue to review full report at Codecov.
|
Rebased and passing all tests now. |
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.
@taldcroft - This looks good to me, but just one question - is YAML really needed since we aren't actually saving the YAML metadata, but just using the serialization machinery?
@astrofrog - good catch! I was just blindly copying precedent in HDF5 or ECSV, but in fact there is no YAML dependency. See 821946f. |
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.
Looks good now provided tests pass!
This improves the support for converting Table to and from pandas:
Time
andTimeDelta
via numpydatetime64
andtimedelta64
.to_pandas()
.To do:
from_pandas()
.See also #8246 that came out of this work.
Closes #5081