Skip to content

Commit 7152b01

Browse files
committed
BUG (string dtype): comparison of string column to mixed object column fails pandas-dev#60228
1 parent a832418 commit 7152b01

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
@@ -333,7 +333,6 @@ def comparison_op(left: ArrayLike, right: Any, op) -> ArrayLike:
333333
rvalues = rvalues.astype("string")
334334
lvalues = array(lvalues, dtype="string")
335335

336-
337336
if should_extension_dispatch(lvalues, rvalues) or (
338337
(isinstance(rvalues, (Timedelta, BaseOffset, Timestamp)) or right is NaT)
339338
and lvalues.dtype != object

0 commit comments

Comments
 (0)