parameters: (left, right)
return_statement: return name
docstring: 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
docstring_summary: Find the appropriate name to pin to an operation result.  This result
      should always be either an Index or a Series.
docstring_tokens: Find the appropriate name to pin to an operation result . This result should always be either an Index or a Series .
function: def get_op_result_name(left, right):
      """
      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
      """
      # `left` is always a pd.Series when called from within ops
      if isinstance(right, (ABCSeries, pd.Index)):
          name = _maybe_match_name(left, right)
      else:
          name = left.name
      return name
function_tokens: def get_op_result_name ( left , right ) : # `left` is always a pd.Series when called from within ops if isinstance ( right , ( ABCSeries , pd . Index ) ) : name = _maybe_match_name ( left , right ) else : name = left . name return name