code: def create_table_from_dataframe(
          self,
          dataframe,
          table_name="",
          primary_key=None,
          add_primary_key_column=False,
          index_attrs=None,
      ):
          
  
          self.__create_table_from_tabledata(
              TableData.from_dataframe(dataframe=dataframe, table_name=table_name),
              primary_key,
              add_primary_key_column,
              index_attrs,
          )
docs: Create a table from a pandas.DataFrame instance.
  
          :param pandas.DataFrame dataframe: DataFrame instance to convert.
          :param str table_name: Table name to create.
          :param str primary_key: |primary_key|
          :param tuple index_attrs: |index_attrs|
  
          :Examples:
              :ref:`example-create-table-from-df`