Pandas Write table to MySQL: “unable to rollback”

前端 未结 4 1295
遥遥无期
遥遥无期 2021-01-12 13:53

I need help to get this working. I have a pd.DataFrame (df), which I need to load to a MySQL database. I don\'t understand what the error message means and how

4条回答
  •  一个人的身影
    2021-01-12 14:22

    I was able to resolve this issue. I was trying to load a large table into MySQL and as a result of which was getting the error. A simple for-loop to upload data in chunks solved the issue ! Many thanks to everyone who replied.

提交回复
热议问题