Skip to content

BUG: astype('category') on dataframe backed by non-writeable arrays raises ValueError #53678

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

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

lukemanley
Copy link
Member

@lukemanley lukemanley added Bug Dtype Conversions Unexpected or buggy dtype conversions Categorical Categorical Data Type labels Jun 14, 2023
@lukemanley lukemanley added this to the 2.1 milestone Jun 14, 2023
@lukemanley lukemanley requested a review from WillAyd as a code owner June 14, 2023 22:14
@mroeschke mroeschke merged commit 155af2c into pandas-dev:main Jun 20, 2023
@mroeschke
Copy link
Member

Thanks @lukemanley

@lukemanley lukemanley deleted the category-readonly-mask branch June 22, 2023 21:59
Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Categorical Categorical Data Type Dtype Conversions Unexpected or buggy dtype conversions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: astype('category') on dataframe backed by non-writeable arrays raises ValueError
2 participants