File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ class UnsortedIndexError(KeyError):
105
105
106
106
"""
107
107
pass
108
-
109
108
110
109
111
110
class AbstractMethodError (NotImplementedError ):
Original file line number Diff line number Diff line change @@ -1814,9 +1814,9 @@ def check_bool_indexer(ax, key):
1814
1814
result = result .reindex (ax )
1815
1815
mask = isnull (result ._values )
1816
1816
if mask .any ():
1817
- raise IndexingError ('Unalignable boolean Series provided as indexer '
1818
- '(index of the boolean Series and of the indexed '
1819
- 'object do not match' )
1817
+ raise IndexingError ('Unalignable boolean Series provided as '
1818
+ 'indexer (index of the boolean Series and of '
1819
+ 'the indexed object do not match' )
1820
1820
result = result .astype (bool )._values
1821
1821
elif is_sparse (result ):
1822
1822
result = result .to_dense ()
Original file line number Diff line number Diff line change @@ -3484,8 +3484,8 @@ def test_iloc_mask(self):
3484
3484
'(index of the boolean Series and of the indexed '
3485
3485
'object do not match' ,
3486
3486
('locs' , '.loc' ): 'Unalignable boolean Series provided as indexer '
3487
- '(index of the boolean Series and of the indexed '
3488
- 'object do not match' ,
3487
+ '(index of the boolean Series and of the '
3488
+ 'indexed object do not match' ,
3489
3489
('locs' , '.iloc' ): ('iLocation based boolean indexing on an '
3490
3490
'integer type is not available' ),
3491
3491
}
You can’t perform that action at this time.
0 commit comments