Skip to content

Commit 65ae2e2

Browse files
committed
BUG (string dtype): comparison of string column to mixed object column fails pandas-dev#60228
1 parent 0129c68 commit 65ae2e2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/core/ops/array_ops.py

-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ def comparison_op(left: ArrayLike, right: Any, op) -> ArrayLike:
335335
rvalues = rvalues.astype("string")
336336
lvalues = pd_array(lvalues, dtype="string")
337337

338-
339338
if should_extension_dispatch(lvalues, rvalues) or (
340339
(isinstance(rvalues, (Timedelta, BaseOffset, Timestamp)) or right is NaT)
341340
and lvalues.dtype != object

0 commit comments

Comments
 (0)