Skip to content

Commit 590e21a

Browse files
author
Marco Gorelli
committed
Revert ops/__init__ to upstream master
1 parent 8b6a462 commit 590e21a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pandas/core/ops/__init__.py

-5
Original file line numberDiff line numberDiff line change
@@ -829,11 +829,6 @@ def wrapper(self, other):
829829
# Defer to DataFrame implementation; fail early
830830
return NotImplemented
831831

832-
elif should_extension_dispatch(self, other):
833-
# e.g. SparseArray
834-
res_values = dispatch_to_extension_op(op, self, other)
835-
return _construct_result(self, res_values, index=self.index, name=res_name)
836-
837832
elif isinstance(other, (ABCSeries, ABCIndexClass)):
838833
is_other_int_dtype = is_integer_dtype(other.dtype)
839834
other = other if is_other_int_dtype else fill_bool(other)

0 commit comments

Comments
 (0)