Read csv into database SQLite3 ODO Python
问题 I am trying to read in a csv into a new table in a new databased using ODO, SQLite3 and Python. I am following these guides: https://media.readthedocs.org/pdf/odo/latest/odo.pdf http://odo.pydata.org/en/latest/perf.html?highlight=sqlite#csv-sqlite3-57m-31s I am trying the following: import sqlite3 import csv from odo import odo file_path = 'my_path/' # In this case 'my_path/' is a substitute for my real path db_name = 'data.sqlite' conn = sqlite3.connect(file_path + db_name) This creates a