SciPy

scipy.sparse.csc_matrix.transpose

csc_matrix.transpose(copy=False)[source]