Transpose of Array| Numpy tutorial | Data Science | Codin India
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwk9ZpgWALOduvoN_cqHsdj1mPjjoQrpfA864hBq548pjj5BIoi-fK1E0XI0_eO6uHAGh2FCc28YlNpm2LdzUP7KK-I57leiJi4r-9y-LYjdzrQiU223y_9ieAdu7G2fZ-5edYgpVnYMhP/w400-h159/Screenshot+%2528118%2529.png)
In the last post, we learned about reshaping the Numpy array. In this post, we will learn about the transpose of nd-array. Another very interesting reshaping method of Numpy is the Transpose() method. Transpose is an very important topic when we talk about matrices and arrays. In linear algebra, the transpose of a matrix is an operator which flips a matrix over its diagonal. i.e. It takes the input Array and swaps the rows and columns value and vica-versa. After transpose rows becomes columns and columns becomes rows. Let us understand by code:- Output:- It will convert rows into columns and columns to rows. I hope you will Like this post :) if you want to learn python then this tutorial will help you alot Python tutorial for beginners in hindi Please Subscribe to our Youtube Channel - Codin India