Skip to content

Commit 31287f0

Browse files
committed
TYP: remove ignore from array_manager.py II
1 parent ca58222 commit 31287f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/internals/array_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ def iset(
842842
else:
843843
assert isinstance(loc, np.ndarray)
844844
assert loc.dtype == "bool"
845-
indices = np.array([index for index in loc[1:]])
845+
indices = np.array([i for i in range(len(loc)) if loc[i] is True])
846846

847847
assert value.ndim == 2
848848
assert value.shape[0] == len(self._axes[0])

0 commit comments

Comments
 (0)