scipy.sparse.lil_matrix. todok# lil_matrix.todok(copy=False)[source]# 将此数组/矩阵转换为键字典格式。 当 copy=False 时,数据/索引可能在此数组/矩阵和生成的 dok_array/矩阵之间共享。