SciPy

scipy.sparse.lil_matrix.getrowview

lil_matrix.getrowview(i)[source]

Returns a view of the ‘i’th row (without copying).