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