Shape and Reshape Numpy Arrays - Numpy For Machine Learning 5

Поділитися
Вставка
  • Опубліковано 4 лип 2024
  • In this video we'll learn how to determine the shape of a Numpy Array and reshape a Numpy Array.
    You'll often need to determine the shape of a Numpy Array and we can do this using the .shape() function.
    You can also change the shape of a Numpy Array using the .reshape() function. We'll look at how to use both the shape and reshape function in this video.
    #numpy #codemy #JohnElder
    Timecodes
    0:00​​ - Introduction
    1:13 - Create a 1-D Numpy Array And Get Shape
    2:04 - Create a 2-D Numpy Array and Get Shape
    3:27 - Reshape 2-D Numpy Array
    4:34 - Reshape 3-D Numpy Array
    5:44 - Flatten a Numpy Array
    6:35 - Conclusion

КОМЕНТАРІ • 23

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

    ▶ Watch Entire Numpy Playlist ✅ Subscribe To My UA-cam Channel:
    bit.ly/3Q7frEH bit.ly/2IGzvOR
    ▶ See More At: ✅ Join My Facebook Group:
    Codemy.com bit.ly/2GFmOBz
    ▶ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
    Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
    ▶ Get The Code:
    bit.ly/3mp2qJ3

  • @FuryMuscles
    @FuryMuscles 2 місяці тому +1

    this man is the exemple of some1 love his work, look how much he is excited to teach u this, thanks

    • @Codemycom
      @Codemycom  2 місяці тому +1

      Appreciate it, thanks!

  • @bozok1903
    @bozok1903 4 місяці тому +1

    You are an interesting person. Whenever I need help with python I find your videos. Thank you very much. It's great chance to have people like you.

    • @Codemycom
      @Codemycom  4 місяці тому +1

      Thanks, tell your friends ;-)

  • @malikarjunhugar026
    @malikarjunhugar026 Місяць тому

    Amazing !! Thank you Heisenberg

  • @jainam842
    @jainam842 Рік тому +3

    Hi John will you upload whole AI series?

  • @Therrhd
    @Therrhd 4 місяці тому

    I like this guys intro

  • @user-mh3mw7fk9w
    @user-mh3mw7fk9w 2 місяці тому

    great explanation

    • @Codemycom
      @Codemycom  2 місяці тому

      Thanks! Glad you enjoyed it

  • @kamranzamanni6826
    @kamranzamanni6826 3 місяці тому

    smashing the like button!

  • @maheshmahii7100
    @maheshmahii7100 4 місяці тому

    nice explanation

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

    Do you give a certificate in your website?

  • @marymozaffari2963
    @marymozaffari2963 Рік тому

    Hi John
    Do you have git?

    • @Codemycom
      @Codemycom  Рік тому

      Yes, I use the git bash terminal from git-scm.com

  • @KumR
    @KumR 3 місяці тому

    why does it show (12,) for first case.. should'nt it be (1,12) ?

    • @saurabhshrigadi
      @saurabhshrigadi 26 днів тому

      1d array will give only 1 value cause it default that one. If it was more than 1 then it would be 2D array