[Numpy-discussion] save a matrix

Keith Goodman kwgoodman at gmail.com
Thu Nov 30 22:13:47 CST 2006

What's a good way to save matrix objects to file for later use? I just
need something quick for debugging.

I saw two suggestions on this list from Francesc Altet (2006-05-22):

1. Use tofile and fromfile and save the meta data yourself.

2. pytables

Any suggestions for #3?

If I do #1, how would I put multiple matrices in a single file? Make
everything a 1-d array, first element is number of matrices, followed
by number of rows and columns for each matrix?

More information about the Numpy-discussion mailing list