scipy.sparse.dia_array.

tocsc#

dia_array.tocsc(copy=False)[source]#

將此陣列/矩陣轉換為壓縮稀疏行格式。

當 copy=False 時,資料/索引可能會在此陣列/矩陣和產生的 csc_array/matrix 之間共享。