scipy.sparse.dia_matrix.tolil#

dia_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.