scipy.sparse.lil_array. tocoo# lil_array.tocoo(copy=False)[source]# 将此数组/矩阵转换为 COOrdinate 格式。 如果 copy=False,则此数组/矩阵和结果 coo_array/matrix 之间可能会共享数据/索引。