## Transpose of a Matrix in Python

A transpose of a matrix is obtained by interchanging all its rows into columns or columns into rows. It is denoted by \(\displaystyle {{A}^{t}}\) or \(\displaystyle {{A}^{‘}}\). For example, If \(\displaystyle A=\left[ {\begin{array}{*{20}{c}} 1 & 2 & 3 \\ 4 & 3 & 5 \\ 2 & 6 & 2 \end{array}} \right]\,\) then \(\displaystyle A=\left[ …