def get_op_result_name(left, right):
<EOL>if isinstance(right, (ABCSeries, pd.Index)):<EOL><INDENT>name = _maybe_match_name(left, right)<EOL><DEDENT>else:<EOL><INDENT>name = left.name<EOL><DEDENT>return name<EOL>
Find the appropriate name to pin to an operation result.  This result
should always be either an Index or a Series.

Parameters
----------
left : {Series, Index}
right : object

Returns
-------
name : object
    Usually a string