mpaesold / solarvic

1 stars 1 forks source link

Implement SQLite as DB engine #24

Open mpaesold opened 2 years ago

mpaesold commented 2 years ago

Python imports SQLite via standard library sqlite3

With executemany a list of tuples can be written to SQLite in bulk. A numpy array can be converted into a list of tuples with the statement list(map(tuple, array)) which use map to convert each row of array into a tuple.