getrow scipy.sparse.coo_matrix. coo_matrix.getrow(i) Returns a copy of row i of the matrix, as a (1 x n) sparse matrix (row vector). Назадgetnnz