code: def _clean_dict(row):
      
      row_cleaned = {}
      for key, val in row.items():
          if val is None or val == '':
              row_cleaned[key] = None
          else:
              row_cleaned[key] = val
      return row_cleaned
docs: Transform empty strings values of dict `row` to None.