scipy.sparse.dok_array. tolil# dok_array.tolil(copy=False)[source]# 將此陣列/矩陣轉換為列表的列表格式。 當 copy=False 時,此陣列/矩陣與產生的 lil_array/matrix 之間可能會共享資料/索引。