code: def from_df(data_frame):
          
          labels = data_frame.keys().tolist()
          data = data_frame.values.tolist()
          return SqlTable(labels, data, "{:.3f}", "\n")
docs: Parses data and builds an instance of this class
  
          :param data_frame: pandas DataFrame
          :return: SqlTable