-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Implement literal np.timedelta64
coding
#10101
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
063437b
Proof of concept literal timedelta64 coding
spencerkclark 03f2988
Ensure test_roundtrip_timedelta_data test uses old encoding pathway
spencerkclark bdb53d7
Remove no longer relevant test
spencerkclark 05c3ce6
Merge branch 'main' into timedelta64-encoding
spencerkclark 00d9eaa
Include units attribute
spencerkclark b043b45
Move coder to times.py
spencerkclark 6f4e6e4
Merge branch 'main' into timedelta64-encoding
spencerkclark 7f73753
Add what's new entry
spencerkclark 4a8e111
Merge branch 'timedelta64-encoding' of https://github.com/spencerkcla…
spencerkclark 9ce2a24
Restore test and reduce diff
spencerkclark eb6e19a
Fix typing
spencerkclark 436e588
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a305238
Fix doctests
spencerkclark b406c64
Restore original order of encoders
spencerkclark a21b137
Add return types to tests
spencerkclark 5108b02
Move everything to CFTimedeltaCoder; reuse code where possible
spencerkclark 452968c
Fix mypy
spencerkclark 503db4a
Use Kai's offset and scale_factor logic for all encoding
spencerkclark 9aee097
Merge branch 'main' into timedelta64-encoding
spencerkclark 56f55e2
Fix bad merge
spencerkclark c5e7de9
Forbid mixing other encoding with literal timedelta64 encoding
spencerkclark d1744af
Expose fine-grained control over decoding pathways
spencerkclark 7c7b071
Rename test
spencerkclark da1edc4
Use consistent dtype spelling
spencerkclark 2bb4b99
Continue supporting non-timedelta dtype-only encoding
spencerkclark 0220ed5
Fix example attribute in docstring
spencerkclark c83fcb3
Update what's new
spencerkclark d1e8a5e
Fix typo
spencerkclark 7b94d35
Complete test
spencerkclark f269e68
Fix docstring
spencerkclark 46169ab
Support _FillValue or missing_value encoding
spencerkclark 3ad0825
Merge branch 'main' into timedelta64-encoding
spencerkclark a697ce4
Merge branch 'main' into timedelta64-encoding
spencerkclark ea9b443
Merge branch 'main' into timedelta64-encoding
dcherian 0e67a04
Tweak errors and warnings; relax decoding dtype error
spencerkclark 8df1981
Add xfail test for fine-resolution branch of non-pandas resolution code
spencerkclark ed14179
Merge branch 'main' into timedelta64-encoding
spencerkclark 0929ec4
Fix typing
spencerkclark 191667f
Revert "Fix typing"
spencerkclark 52a7255
Use simpler typing fix for now
spencerkclark 289186c
Merge branch 'main' into timedelta64-encoding
kmuehlbauer 4deb8c7
Merge branch 'main' into timedelta64-encoding
kmuehlbauer faac097
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.