Тёмный

Shape and Reshape Numpy Arrays - Numpy For Machine Learning 5 

Codemy.com
Подписаться 231 тыс.
Просмотров 17 тыс.
50% 1

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

Опубликовано:

 

4 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@Codemycom
@Codemycom 2 года назад
▶ Watch Entire Numpy Playlist ✅ Subscribe To My RU-vid 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 3 месяца назад
this man is the exemple of some1 love his work, look how much he is excited to teach u this, thanks
@Codemycom
@Codemycom 3 месяца назад
Appreciate it, thanks!
@bozok1903
@bozok1903 5 месяцев назад
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 5 месяцев назад
Thanks, tell your friends ;-)
@malikarjunhugar026
@malikarjunhugar026 2 месяца назад
Amazing !! Thank you Heisenberg
@Codemycom
@Codemycom 2 месяца назад
ha welcome
@Therrhd
@Therrhd 5 месяцев назад
I like this guys intro
@Codemycom
@Codemycom 5 месяцев назад
Thanks!
@user-mh3mw7fk9w
@user-mh3mw7fk9w 3 месяца назад
great explanation
@Codemycom
@Codemycom 3 месяца назад
Thanks! Glad you enjoyed it
@kamranzamanni6826
@kamranzamanni6826 4 месяца назад
smashing the like button!
@Codemycom
@Codemycom 4 месяца назад
Thanks!
@Tuoc_Nguyen
@Tuoc_Nguyen 17 дней назад
Hello, let me ask in the Flatten to 1-D section, can I replace np5 = np4.flatten() with np5 = np4.reshape(-1). Is it the same?Thank you
@jainam842
@jainam842 Год назад
Hi John will you upload whole AI series?
@maheshmahii7100
@maheshmahii7100 5 месяцев назад
nice explanation
@Codemycom
@Codemycom 5 месяцев назад
Thanks!
@narcseven4213
@narcseven4213 2 года назад
Do you give a certificate in your website?
@Codemycom
@Codemycom 2 года назад
Yes
@marymozaffari2963
@marymozaffari2963 Год назад
Hi John Do you have git?
@Codemycom
@Codemycom Год назад
Yes, I use the git bash terminal from git-scm.com
@KumR
@KumR 4 месяца назад
why does it show (12,) for first case.. should'nt it be (1,12) ?
@saurabhshrigadi
@saurabhshrigadi Месяц назад
1d array will give only 1 value cause it default that one. If it was more than 1 then it would be 2D array
Далее
5 Useful F-String Tricks In Python
10:02
Просмотров 288 тыс.
Это iPhone 16
00:52
Просмотров 209 тыс.
🤡Украли У ВСЕХ🤪
00:37
Просмотров 222 тыс.
🎸РОК-СТРИМ без ФАНЕРЫ🤘
3:12:10
Просмотров 1,4 млн
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 798 тыс.
Please Master These 10 Python Functions…
22:17
Просмотров 112 тыс.
NumPy vs Pandas
5:55
Просмотров 145 тыс.
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Это iPhone 16
00:52
Просмотров 209 тыс.