scipy.sparse.csr_array.

tocoo#

csr_array.tocoo(copy=True)[source]#

將此陣列/矩陣轉換為 COOrdinate 格式。

當 copy=False 時,此陣列/矩陣與產生的 coo_array/矩陣之間可能會共享資料/索引。