-
-
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
Preserve base
and loffset
arguments in resample
#7444
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2962535
[test-upstream] Preserve base and loffset arguments in resample
spencerkclark 2e8708d
Merge branch 'main' into deprecate-base
dcherian 84b379e
Emit warning when base is not None
spencerkclark 47e743c
Modify warnings to refer loffset and base as parameters; add tests
spencerkclark defd0e8
Merge branch 'deprecate-base' of https://github.com/spencerkclark/xar…
spencerkclark 09253e5
Add type validation for loffset arguments
spencerkclark 3431b66
Add typing and support for pd.Timedelta as an loffset
spencerkclark c06b6e7
pd.Timedelta is a subclass of datetime.timedelta
spencerkclark 2858ae1
Merge branch 'main' into deprecate-base
spencerkclark 6152225
[test-upstream] Remove unneeded skipif
spencerkclark 1bae848
Fix failing tests
spencerkclark 81e9c21
[test-upstream] Add return type to tests
spencerkclark fa5bf61
[test-upstream] Update documentation
spencerkclark 31a4235
[test-upstream] Fix mypy errors in tests
spencerkclark e0d1673
Move _convert_base_to_offset to pdcompat and add a few more tests
spencerkclark 50a26f5
[test-upstream] Merge branch 'main' into deprecate-base
spencerkclark f782578
Use offset instead of base in documentation
spencerkclark d922d71
Merge branch 'main' into deprecate-base
spencerkclark 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 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 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 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 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 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 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.
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.
I was going to suggest adding an example of time offset arithmetic here. But then thought we could just link to docs. But turns out we have no docs on this AFAICT! I'll open an issue (see #7596)