scipy.sparse.csr_matrix.

scipy.sparse.csr_matrix.T

property csr_matrix.T

Transpose.