mercredi 15 juillet 2015

save a matrix (or a 2 dimensional array) in a sqlite db with Python

I have a 2D array, M 390x420 with float values in it that I would like to save as a table in a sqlite db with python. the row number of the table should be 390, the column number 420.

executemany from sqlite is not optimal because then I would have to write ~ 420 of "?" , as far as I've understood.

Thank you!

Aucun commentaire:

Enregistrer un commentaire