SciPy

scipy.sparse.spmatrix.getrow

spmatrix.getrow(self, i)[source]

Returns a copy of row i of the matrix, as a (1 x n) sparse matrix (row vector).

Previous topic

scipy.sparse.spmatrix.getnnz

Next topic

scipy.sparse.spmatrix.maximum