This is documentation for an old release of SciPy (version 0.12.0). Read this page in the documentation of the latest stable release (version 1.15.1).

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.

Previous topic

scipy.sparse.csr_matrix.tobsr

Next topic

scipy.sparse.csr_matrix.tocsc