bsparse.sparse.COO.todia#

sparse.COO.todia()#

Converts the matrix to diagonal storage.