scipy.sparse.lil_array.

todok#

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

将此数组/矩阵转换为键字典格式。

当 copy=False 时,此数组/矩阵与生成的 dok_array/矩阵之间可以共享数据/索引。