Skip to content

Commit b64b8a7

Browse files
committed
Correct the unintended deletion
1 parent 9556aa4 commit b64b8a7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/core/generic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9713,7 +9713,6 @@ def _where(
97139713
else:
97149714
if not hasattr(cond, "shape"):
97159715
cond = np.asanyarray(cond)
9716-
cond[isna(cond)] = True
97179716
if cond.shape != self.shape:
97189717
raise ValueError("Array conditional must be same shape as self")
97199718
cond = self._constructor(cond, **self._construct_axes_dict(), copy=False)

0 commit comments

Comments
 (0)