scipy.sparse.csr_matrix.

tolil#

csr_matrix.tolil(copy=False)[source]#

將此陣列/矩陣轉換為列表的列表格式。

當 copy=False 時,此陣列/矩陣和結果 lil_array/matrix 之間可能會共享資料/索引。