We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9556aa4 commit b64b8a7Copy full SHA for b64b8a7
pandas/core/generic.py
@@ -9713,7 +9713,6 @@ def _where(
9713
else:
9714
if not hasattr(cond, "shape"):
9715
cond = np.asanyarray(cond)
9716
- cond[isna(cond)] = True
9717
if cond.shape != self.shape:
9718
raise ValueError("Array conditional must be same shape as self")
9719
cond = self._constructor(cond, **self._construct_axes_dict(), copy=False)
0 commit comments