code: def from_dataframe(dataframe, table_name=""):
          
  
          return TableData(table_name, list(dataframe.columns.values), dataframe.values.tolist())
docs: Initialize TableData instance from a pandas.DataFrame instance.
  
          :param pandas.DataFrame dataframe:
          :param str table_name: Table name to create.