-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 handling of dtype and NaT when encoding/decoding masked and packaged datetimes and timedeltas #10050
Conversation
…handle partial coding
for more information, see https://pre-commit.ci
Thanks @kmuehlbauer—I'll try and take a look soon. It reminds me that maybe we should also resurrect #9498. |
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.
Thanks again @kmuehlbauer—tricky issues. I think I generally follow the changes—a couple questions to start out.
@spencerkclark Thanks for highlighting these issues. I think I've followed your hints and suggestions to improve here. |
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.
Thanks @kmuehlbauer! This looks good to me now.
Co-authored-by: Spencer Clark <spencerkclark@gmail.com>
…passing decode_times and decode_timedelta to CFMaskCoder and CFScaleOffsetCoder
whats-new.rst
Expecially for datetime/timedelta decoding we are still running into issue when partly decoding or issues when trying to roundtrip partially decoded data. Another issue is with keeping track of state for packed data / masked data. This PR solves this by adding state to CFMaskCoder/CFScaleOffsetCoder.