Dear Folks,
I am wondering about the most efficient way to save a numpy.ndarray in a sqlite3 database file. I was initially thinking about using the 'buffer' type and creating a 'blob' field in the database. however the .from_buffer() routines in numpy assume the array to be recreated having dimension one. so if I do not know the shape of the array when reading from the sqlite3 database, I would have to use additional fields for storing the array shape. Is there a more convenient way?


_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to