sniff_pandas

getml.sqlite3.sniff_pandas(table_name: str, data_frame: str) str[source]

Sniffs a pandas data frame.

Args:
table_name (str):

Name of the table in which the data is to be inserted.

data_frame (pandas.DataFrame):

The pandas.DataFrame to read into the table.

Returns:
str:

Appropriate CREATE TABLE statement.