SciPy

scipy.sparse.csc_matrix.tocoo

csc_matrix.tocoo(copy=True)[source]

Return a COOrdinate representation of this matrix

When copy=False the index and data arrays are not copied.