'Python SQLite is not inserting values into table [closed]
Solution 1:[1]
You need to allow the database connector to do the substitution. You are trying to add the word nan, and SQLite doesn't understand that. The connector would replace that with NULL.
So, change the SQL to "...VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", then use
cursor.execute(parameters, row[1:])
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Tim Roberts |

