tocoo
scipy.sparse.dok_array.
- dok_array.tocoo(copy=False)
Convert this array/matrix to COOrdinate format.
- Parameters:
- copy : bool, optional
With
copy=False, the data/indices may be shared between this array/matrix and the resultant coo_array/matrix.
- Returns