df.to_sql 오류 TypeError: init() got multiple values for argument 'schema'

2023. 9. 4. 10:47Trouble shooting

https://stackoverflow.com/questions/75282511/df-to-table-throw-error-typeerror-init-got-multiple-values-for-argument

 

df to table throw error TypeError: __init__() got multiple values for argument 'schema'

I have dataframe in pandas :- purchase_df. I want to convert it to sql table so I can perform sql query in pandas. I tried this method purchase_df.to_sql('purchase_df', con=engine, if_exists='repla...

stackoverflow.com

 

 

df.to_sql 오류 TypeError: init() got multiple values for argument 'schema'

 

 

해결법 

 

pip uninstall sqlalchemy

 

pip install sqlalchemy-databricks

728x90