-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
DEPR: Removing previously deprecated Categorical.labels (#6581) #19120
Conversation
doc/source/whatsnew/v0.23.0.txt
Outdated
@@ -314,6 +314,7 @@ Removal of prior version deprecations/changes | |||
- The ``Panel4D`` and ``PanelND`` classes have been removed (:issue:`13776`) | |||
- The ``Panel``class has dropped the ``to_long``and ``toLong`` methods (:issue:`19077`) | |||
- The options ``display.line_with`` and ``display.height`` are removed in favor of ``display.width`` and ``display.max_rows`` respectively (:issue:`4391`, :issue:`19107`) | |||
- The ``labels`` attribute of the ``Categorical`` class has been drop in favor of ``codes`` |
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.
drop -> removed
Categorical.labels
in favor of :attribute`Categorical.codes`
add the issue number, the original if you can dig it up and this one
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.
Thanks for the comments! There is not issue related to deprecating or removing labels
. The commits didn't reference any, and searching in the issue tracker didn't find anything either. I guess by "this one" you mean #6581, right? I updated the PR with it.
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.
no I dont mean #6581 I mean the issue / PR where it was originally deprecated. Yes its a commit hash, but more useful is a specific PR.
doc/source/whatsnew/v0.23.0.txt
Outdated
@@ -314,6 +314,7 @@ Removal of prior version deprecations/changes | |||
- The ``Panel4D`` and ``PanelND`` classes have been removed (:issue:`13776`) | |||
- The ``Panel``class has dropped the ``to_long``and ``toLong`` methods (:issue:`19077`) | |||
- The options ``display.line_with`` and ``display.height`` are removed in favor of ``display.width`` and ``display.max_rows`` respectively (:issue:`4391`, :issue:`19107`) | |||
- The ``labels`` attribute of the ``Categorical`` class has been removed in favor of attribute:`Categorical.codes` (:issue:`6581`) |
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.
use: :attribute:`Categorical.codes`
thanks! |
git diff upstream/master -u -- "*.py" | flake8 --diff