SciPy

scipy.sparse.csr_matrix.getrow

csr_matrix.getrow(self, i)[source]

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

Previous topic

scipy.sparse.csr_matrix.getnnz

Next topic

scipy.sparse.csr_matrix.log1p