Skip to content

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

More targeted version of #51378

@rhshadrach rhshadrach added Bug NA - MaskedArrays Related to pd.NA and nullable extension arrays labels Apr 22, 2023
@mroeschke
Copy link
Member

 mypy.....................................................................Failed
- hook id: mypy
- duration: 140.36s
- exit code: 1

pandas/core/arrays/masked.py:245: error: Incompatible return value type (got "Union[bool, bool_]", expected "bool")  [return-value]
Found 1 error in 1 file (checked 1420 source files)

@mroeschke mroeschke added this to the 2.1 milestone May 1, 2023
@mroeschke mroeschke merged commit f886f13 into pandas-dev:main May 1, 2023
@mroeschke
Copy link
Member

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the bug-contains-2 branch May 1, 2023 18:01
topper-123 pushed a commit to topper-123/pandas that referenced this pull request May 7, 2023
* BUG: FloatingArray.__contains__(nan)

* GH ref

* mypy fixup

* mypy fixup

---------

Co-authored-by: Patrick Hoefler <[email protected]>
Rylie-W pushed a commit to Rylie-W/pandas that referenced this pull request May 19, 2023
* BUG: FloatingArray.__contains__(nan)

* GH ref

* mypy fixup

* mypy fixup

---------

Co-authored-by: Patrick Hoefler <[email protected]>
Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
* BUG: FloatingArray.__contains__(nan)

* GH ref

* mypy fixup

* mypy fixup

---------

Co-authored-by: Patrick Hoefler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug NA - MaskedArrays Related to pd.NA and nullable extension arrays
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants