I\'m trying to dynamically load census data into a mysql database (from .csv files) using Python and MySQL Connector.
I can\'t figure out why I am getting the error
You have an error when calling the execute() method:
cursor.execute(add_csv_file, csv_info)
try to:
cursor.execute(query, (add_csv_file, csv_info,))