SciPy

scipy.sparse.bsr_matrix.tocoo

bsr_matrix.tocoo(copy=True)[source]

Convert this matrix to COOrdinate format.

When copy=False the data array will be shared between this matrix and the resultant coo_matrix.