-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
BUG: BooleanArray raising on comparison to string #44533
Conversation
mzeitlin11
commented
Nov 20, 2021
- closes BUG: Pandas DataFrame replace() doesn't work if the dataframe has nullable boolean columns #44499
- tests added / passed
- Ensure all linting tests pass, see here for how to run them
- whatsnew entry
result = method(other) | ||
|
||
if result is NotImplemented: | ||
result = invalid_comparison(self._data, other, op) |
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.
This matches what is done in IntegerArray
.
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.
great, in a followon if its possible to move these to the base class would be great.
result = method(other) | ||
|
||
if result is NotImplemented: | ||
result = invalid_comparison(self._data, other, op) |
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.
great, in a followon if its possible to move these to the base class would be great.
thanks @mzeitlin11 |