scipy.sparse.lil_array.

getrow#

lil_array.getrow(i)[source]#

Returns a copy of the ‘i’th row.

Returns:
lil_array or lil_matrix

A copy of the ‘i’th row.