scipy.sparse.dok_matrix. tocoo# dok_matrix.tocoo(copy=False)[原始碼]# 將此陣列/矩陣轉換為 COOrdinate 格式。 若 copy=False,則此陣列/矩陣和產生的 coo_array/matrix 之間可能會共用資料/索引。