-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Extend DatetimeAccessor properties and support .dt accessor for Timedelta
#3612
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 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c8a9fe1
Support `.dt` accessor for Timedelta
andersy005 1f15409
Rename accessors
andersy005 efbe6b9
Use `is_np_timedelta_like` for consistency
andersy005 60ba7d8
Use `pd.timedelta_range`
andersy005 aefb4bc
Move shared method to Properties
andersy005 84efe00
Parametrize field access test
andersy005 cc9a220
move `strftime()` to `DatetimeAccessor`
andersy005 c94f1b3
Update the documentation
andersy005 62288a2
Merge branch 'master' of github.com:pydata/xarray into feature/timedelta
andersy005 2b3c438
Update `whats-new.rst`
andersy005 d4fcb04
Add PR reference
andersy005 767dd0d
Parametrize tests
andersy005 b8baad3
Extend DatetimeAccessor properties
andersy005 26fc6b9
Cleanup
andersy005 ce565ee
Fix docstring
andersy005 2c24f7d
Merge branch 'master' of github.com:pydata/xarray into feature/timedelta
andersy005 39ad6cf
Merge branch 'master' of github.com:pydata/xarray into feature/timedelta
andersy005 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
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.