original_docstring: 
          Combine values by overwriting `na` with data if possible.
  
          Raises:
              ValueError if value1 and value2 contain contradicting data
          
docstring: Combine values by overwriting `na` with data if possible.
  Raises:
  ValueError if value1 and value2 contain contradicting data
docstring_tokens: Combine values by overwriting ` na ` with data if possible . Raises : ValueError if value1 and value2 contain contradicting data
code: def combine_values(value1, value2):
          """
          Combine values by overwriting `na` with data if possible.
  
          Raises:
              ValueError if value1 and value2 contain contradicting data
          """
          # return value if identical or both not available
          if value1 == value2 or (pd.isna(value1) and pd.isna(value2)):
              return value1
          elif pd.isna(value1) and not pd.isna(value2):
              return value2
          elif not pd.isna(value1) and pd.isna(value2):
              return value1
          else:
              raise ValueError(f'Can not merge contradicting entries {value1} '
                               f'and {value2}')
code_tokens: def combine_values ( value1 , value2 ) : if value1 == value2 or ( pd . isna ( value1 ) and pd . isna ( value2 ) ) : return value1 elif pd . isna ( value1 ) and not pd . isna ( value2 ) : return value2 elif not pd . isna ( value1 ) and pd . isna ( value2 ) : return value1 else : raise ValueError ( f'Can not merge contradicting entries {value1} ' f'and {value2}' )
short_docstring: Combine values by overwriting `na` with data if possible.
short_docstring_tokens: Combine values by overwriting ` na ` with data if possible .
comment: """
          Combine values by overwriting `na` with data if possible.
  
          Raises:
              ValueError if value1 and value2 contain contradicting data
          """$SEP$# return value if identical or both not available