'Returns the transposed SparseMatrix of this SparseMatrix.
Examples
>>> from sympy.matrices import SparseMatrix
>>> a = SparseMatrix(((1, 2), (3, 4)))
>>> a
Matrix([
[1, 2],
[3, 4]])
>>> a.T
Matrix([
[1, 3],
[2, 4]])'

def _eval_transpose(self):

    smat = {(j, i): val for ((i, j), val) in self._smat.items()}
    return self._new(self.cols, self.rows, smat)
