code: def read_csv(fn, has_header=True, data_type=str):
      """
      Function which reads the csv files containing trajectories
      of the auto-sklearn runs.
      """
      data = list()
      header = None
      with open(fn, "r") as csvfile:
          csv_reader = csv.reader(csvfile, delimiter=",", quotechar="|")
          for row in csv_reader:
              if header is None and has_header:
                  header = row
                  continue
              data.append(
                  list(map(data_type, [i.strip() for i in row]))
              )
      return header, data
  
file_path: auto-sklearn/scripts/2015_nips_paper/plot/plot_ranks.py
imports: import csv
  import sys
  import os
  import numpy
  import pandas
  import matplotlib.pyplot
label_desc: Use image node_id 1 for calling a global function with example usage: read_csv(fn, has_header, data_type) and returns: header,  data