SciPy

scipy.sparse.lil_matrix.tocoo

lil_matrix.tocoo()[source]