scipy.sparse.csr_matrix.

tolil#

csr_matrix.tolil(copy=False)[source]#

将此数组/矩阵转换为列表的列表格式。

使用 copy=False,此数组/矩阵和结果 lil_array/矩阵之间可以共享数据/索引。