Repository navigation
Remove deprecated dt.weekofyear and dt.week accessors - #11742
Open
mohansree14 wants to merge 2 commits into
Open
mohansree14 wants to merge 2 commits into
mohansree14 wants to merge 2 commits into
Conversation
Deprecated since v0.16.2 (pydata#4534); use dt.isocalendar().week instead. Part of pydata#11721.
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Removes the
DataArray.dt.weekofyearandDataArray.dt.weekaccessors. They have raised aFutureWarningsince v0.16.2 (#4534). Users should call.dt.isocalendar().weekinstead.This is one of the items in the "Top 10" checklist in #11721.
DatetimeAccessor."weekofyear"entry from_DATETIMEINDEX_COMPONENTS.doc/api/deprecated.rstanddoc/api-hidden.rst.week/weekofyearspecial cases fromtest_field_accessandtest_dask_field_access.isocalendar().weekkeeps its coverage intest_isocalendarandtest_isocalendar_dask.Checklist
whats-new.rstAI Disclosure
Tools: Claude Code
[This is Claude Code on behalf of Mohansree Vijayakumar]