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

КОМЕНТАРІ • 30

  • @AyushKumar-oo9dq
    @AyushKumar-oo9dq 5 років тому +10

    Mam your voice is really so cute and also the way you say "ARRAY"..😊😊😃

  • @durgassmartteach
    @durgassmartteach Рік тому +1

    Very nice explanation

  • @hackytech7494
    @hackytech7494 4 роки тому +4

    Thank you so much . And that's for real your voice is really cute

  • @saranraj1285
    @saranraj1285 4 роки тому +2

    Really very helpful .in 11:16 ,u should have given less pressure on "Two" 🤣🤣🤣

  • @t.gowthamarasu1258
    @t.gowthamarasu1258 5 років тому +5

    As usually ur class is awesome.

  • @fakhriddinmakhmadiyorov7269
    @fakhriddinmakhmadiyorov7269 4 роки тому +2

    No dislikes:)

  • @stephenokon3227
    @stephenokon3227 2 роки тому +1

    Thank you very much. Your tutorial is quite explanatory

  • @calmdown1665
    @calmdown1665 2 роки тому +1

    Thanks for all your numpy videos they are very clear and helpful.

  • @veeraratna
    @veeraratna 4 роки тому +1

    Very useful, thanks a lot. Could you please explain rollaxis in numpy , not roll.

  • @randomdude79404
    @randomdude79404 4 роки тому +1

    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

    • @AmulsAcademy
      @AmulsAcademy  4 роки тому +1

      you need to mention the dimension here :)

    • @randomdude79404
      @randomdude79404 4 роки тому

      Yes the axis which has the dimension not the shape

  • @bunkoti
    @bunkoti 4 роки тому +1

    at 13:23 why do np.swapaxes(a,1,0) and np.swapaxes(a,0,1) produce the same result? Kindly explain

    • @AmulsAcademy
      @AmulsAcademy  4 роки тому

      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.

  • @maheshvangala8472
    @maheshvangala8472 3 роки тому

    what is the difference between swapaxes(arr1,0,1) and swapaxes(arr1,1,0) both giving the same array

  • @pankaj7687
    @pankaj7687 4 роки тому +1

    What is axes parameter?? You didnt addressed this question.

    • @AmulsAcademy
      @AmulsAcademy  4 роки тому

      explanation for axes parameter starts from 5:24

  • @rayganmudberry375
    @rayganmudberry375 5 років тому

    please make django/python series with sample project form scratch. thank you.

  • @sinjini3189
    @sinjini3189 4 роки тому +1

    Thank you so much! This video really helped me.

  • @selvanm2872
    @selvanm2872 5 років тому +1

    thank you amul

  • @nanafynn2768
    @nanafynn2768 4 роки тому +1

    Please is transpose the same as reshape?

  • @ms8396
    @ms8396 3 роки тому

    Thanks, Transpose param explanation was very good.

  • @shubhamsirothiya2551
    @shubhamsirothiya2551 3 роки тому +1

    thnx dude!!