Skip to content

Commit 05be784

Browse files
committed
BUG: extension array add values of itself cause cause runtime exception #22478
1 parent 8a1c8ad commit 05be784

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
@@ -1182,7 +1182,7 @@ def dispatch_to_extension_op(op, left, right):
11821182
new_right = [new_right]
11831183
new_right = list(new_right)
11841184
elif is_extension_array_dtype(right) and type(left) != type(right):
1185-
new_right = list(new_right)
1185+
new_right = list(right)
11861186
else:
11871187
new_right = right
11881188

0 commit comments

Comments
 (0)