Skip to content

Commit 7e3b219

Browse files
committed
BUG: extension array add values of itself cause cause runtime exception #22478
1 parent 2be2ba5 commit 7e3b219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/ops.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ def dispatch_to_extension_op(op, left, right):
11511151
new_right = [new_right]
11521152
new_right = list(new_right)
11531153
elif is_extension_array_dtype(right) and type(left) != type(right):
1154-
new_right = list(new_right)
1154+
new_right = list(right)
11551155
else:
11561156
new_right = right
11571157

0 commit comments

Comments
 (0)