Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    use sqlalchemy to issue a create table statement first before trying to upload the data frame to that table? Commented Jul 8, 2018 at 22:09
  • This seems to be a way to go - I was able to write the code to first auto-generate a mysql table from a df then write the df data to that table. There were a couple of hiccups I had to overcome, such as: unnamed csv columns, determining the correct data type for each field in the mysql table. Commented Jul 9, 2018 at 12:24