df.to_sql index code example
Example: pandas to sql index
resultDf.to_sql('table_name', engine, schema="schema_name", if_exists="append", index=False)
resultDf.to_sql('table_name', engine, schema="schema_name", if_exists="append", index=False)