Skip to content

Commit 023988d

Browse files
committed
swap condition
1 parent 8b0b522 commit 023988d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/computation/expressions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ def where(cond, left_op, right_op, use_numexpr: bool = True):
258258
"""
259259
assert _where is not None
260260
if use_numexpr:
261-
return _where_standard(cond, left_op, right_op)
262-
else:
263261
return _where(cond, left_op, right_op)
262+
else:
263+
return _where_standard(cond, left_op, right_op)
264264

265265

266266
def set_test_mode(v: bool = True) -> None:

0 commit comments

Comments
 (0)