scipy.sparse.dok_matrix. tolil# dok_matrix.tolil(copy=False)[source]# 将此数组/矩阵转换为列表的列表格式。 如果 copy=False,则此数组/矩阵和生成的 lil_array/matrix 之间可以共享数据/索引。