scipy.sparse.dia_array. todok# dia_array.todok(copy=False)[source]# 将此数组/矩阵转换为键字典格式。 如果 copy=False,则此数组/矩阵与结果 dok_array/矩阵之间可能会共享数据/索引。