code: def load_csv(
      fp: String, is_tsv: bool = False, verbose: bool = True
  ) -> List:
      if verbose:
          logger.info(f"load csv from {fp}")
  
      dialect = "excel-tab" if is_tsv else "excel"
      with open(fp, encoding="utf-8") as f:
          reader = csv.DictReader(f, dialect=dialect)
          return list(reader)
  
file_path: DeepKE/example/triple/cnschema/utils.py
imports: from tokenize import String
  import torch
  import logging
  import numpy
  from typing import List, Union
  import csv
label_desc: Use image node_id 2 for calling a global function with example usage: load_csv(fp, is_tsv, verbose) and returns: list