-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend DatetimeAccessor properties and support
.dt
accessor for Tim…
…edelta (#3612) * Support `.dt` accessor for Timedelta * Rename accessors * Use `is_np_timedelta_like` for consistency * Use `pd.timedelta_range` * Move shared method to Properties * Parametrize field access test * move `strftime()` to `DatetimeAccessor` * Update the documentation * Update `whats-new.rst` * Add PR reference * Parametrize tests * Extend DatetimeAccessor properties * Cleanup * Fix docstring
- Loading branch information
1 parent
471a5d6
commit 3cbc459
Showing
6 changed files
with
418 additions
and
139 deletions.
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
Oops, something went wrong.