-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
TST: add fillna test for filling with Categorical #62319
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you avoid mutating here; when debugging, it can be helpful to have both before and after the operation accessible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a reference to the issue as a comment on the first line.
# https://github.com/pandas-dev/pandas/issues/56329
Uh oh!
There was an error while loading. Please reload this page.
Added a test to TestFillNA to check that call fillna with a
Series
of dtypeCategorical
does not throw an error.