Re: [Tutor] saving a numpy ndarray in sqlite3 (markus kossner)

2009-12-21 Thread Don Jennings
I am not familiar with numpy, but you might like to take a look at y_serial which allows you to store python objects in sqlite: http://yserial.sourceforge.net/ Take care, Don ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscripti

[Tutor] saving a numpy ndarray in sqlite3

2009-12-21 Thread markus kossner
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