Skip to content

BUG: BooleanArray+pd.NA altering array inplace #45421

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 6 commits into from
Jan 19, 2022

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

@@ -83,6 +83,18 @@ def test_op_int8(left_array, right_array, opname):
tm.assert_extension_array_equal(result, expected)


def test_boolean_array_add_pdna():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe can move this test to arrays/masked/test_arithmetic.py to have it for the integer and floating dtypes at the same time as well (those don't have this bug, but I don't directly see a test for it)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea, updated

@jorisvandenbossche jorisvandenbossche added this to the 1.5 milestone Jan 19, 2022
@jorisvandenbossche jorisvandenbossche merged commit a474af5 into pandas-dev:main Jan 19, 2022
@jorisvandenbossche
Copy link
Member

Thanks!

@jreback jreback added ExtensionArray Extending pandas with custom dtypes or arrays. Bug labels Jan 19, 2022
@jbrockmendel jbrockmendel deleted the ref-nullable-ops branch January 19, 2022 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug ExtensionArray Extending pandas with custom dtypes or arrays.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants