Transpose

Tranpose[m]
transposes rows and columns in the matrix m.