scipy.sparse.spmatrix.tocoo

spmatrix.tocoo(copy=False)[源代码]

将此矩阵转换为坐标格式。

在COPY=FALSE的情况下,数据/索引可以在该矩阵和所得到的COO_矩阵之间共享。