def create_table_from_dataframe(<EOL>self,<EOL>dataframe,<EOL>table_name="<STR_LIT>",<EOL>primary_key=None,<EOL>add_primary_key_column=False,<EOL>index_attrs=None,<EOL>):
self.__create_table_from_tabledata(<EOL>TableData.from_dataframe(dataframe=dataframe, table_name=table_name),<EOL>primary_key,<EOL>add_primary_key_column,<EOL>index_attrs,<EOL>)<EOL>
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`