Pandas to_sql gives UNIQUE constraint failed

后端 未结 0 1208
一个人的身影
一个人的身影 2021-02-20 17:24

i am trying to fill a newly created SQL database by using Pandas to_sql:

conn = sqlite3.connect(\'sql_db.db\')
c=conn.cursor()
df = pd.read_csv(file)
df.to_sql(ta         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题