scipy.sparse.csr_matrix.tocoo

csr_matrix.tocoo(copy=True)[source]

Return a COOrdinate representation of this matrix

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