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