Skip to content
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

Merged
merged 2 commits into from
Jan 10, 2018
Merged

DEPR: Removing previously deprecated Categorical.labels (#6581) #19120

merged 2 commits into from
Jan 10, 2018

Conversation

datapythonista
Copy link
Member

@@ -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``
Copy link
Contributor

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

Copy link
Member Author

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.

Copy link
Contributor

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.

@jreback jreback added Categorical Categorical Data Type Deprecate Functionality to remove in pandas labels Jan 7, 2018
@@ -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`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use: :attribute:`Categorical.codes`

@jreback jreback added this to the 0.23.0 milestone Jan 10, 2018
@jreback jreback merged commit fabc316 into pandas-dev:master Jan 10, 2018
@jreback
Copy link
Contributor

jreback commented Jan 10, 2018

thanks!

maximveksler pushed a commit to maximveksler/pandas that referenced this pull request Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Categorical Categorical Data Type Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants