scipy.sparse.lil_array.

tocsc#

lil_array.tocsc(copy=False)[source]#

将此数组/矩阵转换为压缩稀疏列格式。

如果 copy=False,则此数组/矩阵与生成的 csc_array/矩阵之间可能会共享数据/索引。