Skip to content

Fix AttributeError: 'Series' object has no attribute '_pa_array' in CategoricalDtype #59099

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

Closed

Conversation

randolf-scholz
Copy link
Contributor

@randolf-scholz randolf-scholz marked this pull request as ready for review June 26, 2024 10:10
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Aug 18, 2024
@mroeschke
Copy link
Member

Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen.

@mroeschke mroeschke closed this Oct 29, 2024
robin-mader-bis added a commit to robin-mader-bis/pandas that referenced this pull request Mar 28, 2025
…pyarrow dictionary categoricals

Relates to pandas-dev#53051

Code for fix taken and adapted from pandas-dev#59099
robin-mader-bis added a commit to robin-mader-bis/pandas that referenced this pull request Apr 2, 2025
…pyarrow dictionary categoricals

Relates to pandas-dev#53051

Code for fix taken and adapted from pandas-dev#59099
robin-mader-bis added a commit to robin-mader-bis/pandas that referenced this pull request Apr 4, 2025
…pyarrow dictionary categoricals

Relates to pandas-dev#53051

Code for fix taken and adapted from pandas-dev#59099
robin-mader-bis added a commit to robin-mader-bis/pandas that referenced this pull request Apr 10, 2025
…pyarrow dictionary categoricals

Relates to pandas-dev#53051

Code for fix taken and adapted from pandas-dev#59099
robin-mader-bis added a commit to robin-mader-bis/pandas that referenced this pull request Apr 14, 2025
…pyarrow dictionary categoricals

Relates to pandas-dev#53051

Code for fix taken and adapted from pandas-dev#59099
robin-mader-bis added a commit to robin-mader-bis/pandas that referenced this pull request Apr 14, 2025
…pyarrow dictionary categoricals

Relates to pandas-dev#53051

Code for fix taken and adapted from pandas-dev#59099
mroeschke pushed a commit that referenced this pull request Apr 14, 2025
…61193)

* BUG: Fix bug with DataFrame.pivot and .set_index not compatible with pyarrow dictionary categoricals

Relates to #53051

Code for fix taken and adapted from #59099

* TST: Add tests for faulty behavior relating to pyarrow categoricals

* CLN: Fix issues reported by pre-commit hooks

* TST: Fix failing tests for minimum version by ignoring obsolete deprecation warning

* DOC: Add entry for bugfix to whatsnew v3.0.0

* CLN: Refactor code and clean up according to PR feedback

* CLN: Refactor code and clean up according to PR feedback

* CLN: Refactor tests to adress PR feedback

* CLN: Refactor tests to adress PR feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: DataFrame.pivot fails with pyarrow backend if variable is already encoded as dictionary
3 participants