scipy.sparse.lil_matrix. tocsc# lil_matrix.tocsc(copy=False)[source]# 將此陣列/矩陣轉換為壓縮稀疏行格式。 當 copy=False 時,此陣列/矩陣與結果產生的 csc_array/matrix 之間可能會共享資料/索引。