code: def read_tsv(f, delimiter="\t"):
      '''
      Take a tsv filepath and return an array; e.g. [[],[],[]].
  
      For example, a file containing:
  
      1   2   3
      4   5   6
      7   8   9
  
      would return the array: [['1','2','3'], ['4','5','6'], ['7','8','9']]
  
      :param tsv_filepath:
      :return: tsv_array
      '''
      tsv_array = []
      with open(f, "r") as f:
          data_file = csv.reader(f, delimiter=delimiter)
          for line in data_file:
              tsv_array.append(line)
      return (tsv_arrayf read_tsv(f, delimiter="\t"):
      '''
      Take a tsv filepath and return an array; e.g. [[],[],[]].
  
      For example, a file containing:
  
      1   2   3
      4   5   6
      7   8   9
  
      would return the array: [['1','2','3'], ['4','5','6'], ['7','8','9']]
  
      :param tsv_filepath:
      :return: tsv_array
      '''
      tsv_array = []
      with open(f, "r") as f:
          data_file = csv.reader(f, delimiter=delimiter)
          for line in data_file:
              tsv_array.append(line)
      return (tsv_array)
docs: Take a tsv filepath and return an array; e.g. [[],[],[]].
  
      For example, a file containing:
  
      1   2   3
      4   5   6
      7   8   9
  
      would return the array: [['1','2','3'], ['4','5','6'], ['7','8','9']]
  
      :param tsv_filepath:
      :return: tsv_array