How can I write a Pandas dataframe in a Database in SQL Server connection?

pnkj
pnkj Registered Posts: 8 ✭✭

Suppose I have a Pandas DF and I want to create a new table in a SQL Server connection with all the data in the DF. For Snowflake, I use the DkuSnowpark module and write_with_schema, but I couldn't find something similar for SQL Server.

I tried using SQL Alchemy but I got driver error, but couldn't find another way.

Answers

Setup Info
    Tags
      Help me…