Skip to content

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Mar 15, 2023

@mroeschke
Copy link
Member

Categorical.to_list is the only one that we may want to deprecate the other way instead? xref #14278 #8826

@jbrockmendel
Copy link
Member Author

w/r/t to_list/tolist i dont have an opinion, just dont want an outlier. (also i dont expect people to use Categorical directly that much)

@mroeschke
Copy link
Member

Yeah likewise. I would just recommend tabling Categorical.to_list until there's some more steam around which to list variant we want everywhere.

@mroeschke mroeschke added the Deprecate Functionality to remove in pandas label Mar 20, 2023
@jbrockmendel
Copy link
Member Author

sure, will update

@jbrockmendel
Copy link
Member Author

updated + green, will handle Categorical.to_list in an upcoming DEPR PR

@mroeschke mroeschke added this to the 2.1 milestone Mar 21, 2023
@mroeschke mroeschke merged commit f2cd62a into pandas-dev:main Mar 21, 2023
@mroeschke
Copy link
Member

Thanks @jbrockmendel

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.

DEPR: Categorical.to_list DEPR: GroupBy.dtypes

2 participants