scipy.sparse
scipy.sparse.lil_matrix.getnnz
scipy.sparse.lil_matrix.getrowview
lil_matrix.
getrow
Returns a copy of the ‘i’th row.