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: Categorical, Index #49220

Merged
merged 2 commits into from
Oct 21, 2022
Merged

DEPR: Categorical, Index #49220

merged 2 commits into from
Oct 21, 2022

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@jbrockmendel jbrockmendel added the Deprecate Functionality to remove in pandas label Oct 20, 2022
@mroeschke mroeschke added this to the 2.0 milestone Oct 21, 2022
@mroeschke mroeschke merged commit b1b583b into pandas-dev:main Oct 21, 2022
@mroeschke
Copy link
Member

Thanks @jbrockmendel

@@ -146,6 +146,14 @@ Deprecations

Removal of prior version deprecations/changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Removed deprecated :meth:`Categorical.to_dense`, use ``np.asarray(cat)`` instead (:issue:`32639`)
- Removed deprecated :meth:`Categorical.take_nd` (:issue:`27745`)
- Removed deprecated :meth:`Categorical.mode`, use ``Series(cat).mode()`` instead (:issue:`45033`)
Copy link
Member

Choose a reason for hiding this comment

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

@jbrockmendel I don't think this was actually removed in this PR?

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch, will make a PR now

phofl pushed a commit to phofl/pandas that referenced this pull request Oct 21, 2022
* DEPR: Categorical, Index

* mypy fixup
@jbrockmendel jbrockmendel mentioned this pull request Oct 22, 2022
5 tasks
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
* DEPR: Categorical, Index

* mypy fixup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants