SciPy

scipy.sparse.lil_matrix.tocsc

lil_matrix.tocsc()[source]

Return Compressed Sparse Column format arrays for this matrix.