Generate table schema inspecting Excel(CSV) and import data

前端 未结 5 1588
盖世英雄少女心
盖世英雄少女心 2021-01-02 23:19

How would I go around creating a MYSQL table schema inspecting an Excel(or CSV) file. Are there any ready Python libraries for the task?

Column headers would be sani

5条回答
  •  渐次进展
    2021-01-02 23:50

    Quick and dirty workaround with phpmyadmin:

    • Create a table with the right amount of columns. Make sure the data fits the columns.
    • Import the CSV into the table.
    • Use the propose table structure.

提交回复
热议问题