code: def unisim_csv_formatting(path, fname):
      
      with open(path+fname, 'r') as fobj:
          data = fobj.readlines()
          header = data[9].split(",")[:-1]
          unit_of_measures = data[10].split(",")[:-1]
      data = pd.read_csv(path+fname,
                         skiprows=10,
                         index_col=0,
                         usecols=(range(0, len(header))),
                         na_values=('Shutdown', 'Bad',
                                    'I/O Timeout', 'Scan Timeout'))
      data.columns = header[1:]
      data.unit = unit_of_measures[1:]
      return data
docs: Remove some useless stuff from the head of a csv file generated by unisim
      and returns a pandas dataframe