scipy.sparse.dok_matrix.

tolil#

dok_matrix.tolil(copy=False)[source]#

Convert this array/matrix to List of Lists format.

With copy=False, the data/indices may be shared between this array/matrix and the resultant lil_array/matrix.