[SciPy-user] sparse matrix: getrow()

Nathan Bell wnbell@gmail....
Sat Jul 26 06:14:30 CDT 2008


On Sat, Jul 26, 2008 at 6:08 AM, Dinesh B Vadhia
<dineshbvadhia@hotmail.com> wrote:
> Has the sparse.csr_matrix.getrow(,) function been fixed in the latest svn?
>

It appears to work.  You should use A[i,:] instead, since getrow()
will eventually be deprecated.  CSR and CSC matrices support most
forms of slicing and indexing now.

-- 
Nathan Bell wnbell@gmail.com
http://graphics.cs.uiuc.edu/~wnbell/


More information about the SciPy-user mailing list