[SciPy-Dev] slices of sparse matrixes
Tue Feb 7 12:34:22 CST 2012
On Tue, Feb 7, 2012 at 12:31 PM, Matt Terry <email@example.com> wrote:
> sparse matrixes are *matrixes* not *ndarrays* The two slice differently.
> >>> d = numpy.matrix( (4,3) )
> >>> s = scipy.sparse.lil_matrix(d)
> >>> d[:,0].shape == s[:,0].shape
> It seems the best way to answer your own dumb question is to ask it
> publicly : )
Been there, done that. :)
I think it was on the scikits.learn mailing list that I saw some interest
in a sparse ndarray object. That would be a nice addition to the scipy
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-Dev