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
▶ 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
this man is the exemple of some1 love his work, look how much he is excited to teach u this, thanks
Appreciate it, thanks!
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.
Thanks, tell your friends ;-)
Amazing !! Thank you Heisenberg
ha welcome
Hi John will you upload whole AI series?
I like this guys intro
Thanks!
great explanation
Thanks! Glad you enjoyed it
smashing the like button!
Thanks!
nice explanation
Thanks!
Do you give a certificate in your website?
Yes
Hi John
Do you have git?
Yes, I use the git bash terminal from git-scm.com
why does it show (12,) for first case.. should'nt it be (1,12) ?
1d array will give only 1 value cause it default that one. If it was more than 1 then it would be 2D array