nonzeros in csr_matrix in scipy.sparse matrices

Posted by user308476 on Stack Overflow See other posts from Stack Overflow or by user308476
Published on 2010-04-04T09:42:39Z Indexed on 2010/04/04 9:53 UTC
Read the original article Hit count: 357

Filed under:
|

Dear all,

There is a nonzero() method for the csr_matrix of scipy library, however trying to use that function for csr matrices result in an error, according to the manual that should return a tuple with row and colum arrays. Any ideas on this problem?

Best regards, Umut

© Stack Overflow or respective owner

Related posts about scipy

Related posts about python