SciPy

scipy.sparse.lil_matrix.transpose

lil_matrix.transpose()[source]