SciPy

scipy.sparse.coo_matrix.getrow

coo_matrix.getrow(i)[source]

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

Previous topic

scipy.sparse.coo_matrix.getnnz

Next topic

scipy.sparse.coo_matrix.log1p