code: def pp_tpl_to_dataframe(tpl_filename):
      
      inlines = open(tpl_filename, 'r').readlines()
      header = inlines.pop(0)
      marker = header.strip().split()[1]
      assert len(marker) == 1
      usecols = [0,1,2,3]
      df = pd.read_csv(tpl_filename, delim_whitespace=True,skiprows=1,
                       header=None, names=PP_NAMES[:-1],usecols=usecols)
      df.loc[:,"name"] = df.name.apply(str).apply(str.lower)
      df["parnme"] = [i.split(marker)[1].strip() for i in inlines]
  
  
      return df
docs: read a pilot points template file to a pandas dataframe
  
      Parameters
      ----------
      tpl_filename : str
          pilot points template file
  
      Returns
      -------
      df : pandas.DataFrame
          a dataframe with "parnme" included