-
Notifications
You must be signed in to change notification settings - Fork 33
Conversation
Codecov Report
@@ Coverage Diff @@
## master #95 +/- ##
==========================================
+ Coverage 87.7% 88.08% +0.38%
==========================================
Files 17 19 +2
Lines 1895 1939 +44
==========================================
+ Hits 1662 1708 +46
+ Misses 233 231 -2
Continue to review full report at Codecov.
|
Depends on pandas-dev/pandas#30842 |
fletcher/base.py
Outdated
@@ -637,6 +641,9 @@ def __getitem__(self, item): | |||
For a boolean mask, return an instance of ``ExtensionArray``, filtered | |||
to the values where ``item`` is True. | |||
""" | |||
if PANDAS_GE_0_26_0 and is_bool_dtype(item): | |||
check_bool_array_indexer(self, item) |
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.
What it this doing?
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.
See pandas-dev/pandas#30308. It is checking nullable boolean arrays for NAs (and raise if there are), and return a numpy array.
So, actually, this needs to re-assign to item
.
Co-Authored-By: Joris Van den Bossche <[email protected]>
Co-Authored-By: Joris Van den Bossche <[email protected]>
No description provided.