diff --git a/pandas/core/ops/common.py b/pandas/core/ops/common.py index 559977bacf881..689ddf5003abb 100644 --- a/pandas/core/ops/common.py +++ b/pandas/core/ops/common.py @@ -93,11 +93,7 @@ def get_op_result_name(left, right): name : object Usually a string """ - if isinstance(right, (ABCSeries, ABCIndex)): - name = _maybe_match_name(left, right) - else: - name = left.name - return name + return left.name def _maybe_match_name(a, b):