[SciPy-User] Saving Graphs
David Warde-Farley
dwf at cs.toronto.edu
Wed Dec 2 14:30:10 EST 2009
On 2-Dec-09, at 5:56 AM, Marco wrote:
> I am looking for a way to save graphs (even not single graphs, but
> rather more graphs in the same file) which is a little more clever.
If you store them as certain kinds of sparse matrix, e.g. csr, csc or
coo, the underlying storage is NumPy arrays. You can then use np.save
or np.savez which are considerably faster than pickling.
David
More information about the SciPy-User
mailing list