scipy.sparse.csr_matrix. tocoo# csr_matrix.tocoo(copy=True)[源代码]# 将此数组/矩阵转换为 COOrdinate 格式。 当 copy=False 时,数据/索引可以在此数组/矩阵和结果 coo_array/matrix 之间共享。