Array Manipulation | transpose and swapaxes | NumPy Tutorials | Python Programming
Вставка
- Опубліковано 2 жов 2024
- In this Python Programming video tutorial you will learn about array manipulation in detail. Here We will discuss how to transpose and swap axes of given array in detail.
NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.
#numpy #Python
For more free tutorials on computer programming
/ amulsacademy
/ amulsacademy
Mam your voice is really so cute and also the way you say "ARRAY"..😊😊😃
Very nice explanation
Thank you so much . And that's for real your voice is really cute
😊 thank you
Really very helpful .in 11:16 ,u should have given less pressure on "Two" 🤣🤣🤣
As usually ur class is awesome.
Thank you :)
No dislikes:)
Thank you very much. Your tutorial is quite explanatory
Thanks for all your numpy videos they are very clear and helpful.
Very useful, thanks a lot. Could you please explain rollaxis in numpy , not roll.
At 8:52 you mention that axis 0 , 1 and 2 respectively are number of 2D arrays , rows and columns so why when you transpose to get (3,4,2) you use
np.tranpose(a,(1,2.0))
shouldnt it be
np.transpose(a,(3,4,2)) ????
I am confused on this
Thank you
you need to mention the dimension here :)
Yes the axis which has the dimension not the shape
at 13:23 why do np.swapaxes(a,1,0) and np.swapaxes(a,0,1) produce the same result? Kindly explain
in 2d array we have only 2 dimensions, if you take axis0 as 0 and axis1 as 1 it will swap 0 and 1, if you take axis0 as 1 and axis1 as 0 then also it will swap 0 and 1 so we will get same answer.
what is the difference between swapaxes(arr1,0,1) and swapaxes(arr1,1,0) both giving the same array
What is axes parameter?? You didnt addressed this question.
explanation for axes parameter starts from 5:24
please make django/python series with sample project form scratch. thank you.
Thank you so much! This video really helped me.
Glad it helped! :)
thank you amul
Please is transpose the same as reshape?
No both are different.
Thanks, Transpose param explanation was very good.
Thank you :)
thnx dude!!
Welcome!
Welcome!