scipy.sparse.coo_array.getrow

coo_array.getrow(i)[source]

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