Python NumPy Tutorial for Beginners #4 - View and Copy

preview_player
Показать описание
Learn Python NumPy! In this fourth video of the NumPy tutorial series, we explore the view and copy commands in NumPy!

🔔NEW videos, tutorials and projects EVERY week so subscribe and hit the bell button so you don't miss an update!

🖥Code:

▶️Watch my full Python tutorial course here:

▶️Watch my Python Projects tutorials playlist here:

🔗 Social Media Links 🔗

💸 Donations 💸
⬇️Any donations are gratefully received & all donations go straight back into this channel!⬇️

⭐️ Hashtags ⭐️
#CodeOfTheFuture #WomenWhoCode #Python #Coding #Programming #Tutorials

Subscribers - 4696
Рекомендации по теме
Комментарии
Автор

Great Video ! Thank you for your videos.. !!

nishantthakuribm
Автор

Thank u so much for these program it's fun to learn with you👍🏻

Venom_
Автор

Hi! I'm a big fan of your tutorials. In this video I don't quite understand what is the point of the view if it does the same as if we put a print(array2)?
Greetings from México!

lalop
Автор

Again something that would make the video longer, more complicated, and more confusing, but maybe in another video....when you get to the stuff about re-shaping, you can make a whole separate copy that has its own data and of course its own view of the data. You can make a new view that shares the same underlying data elements, but has its own idea of what the shape and dimensions are, or you can just use array2 = array, which will just be plain Python giving another name to the same ndarray, which not only shares the same underlying data, but will reflect any changes in shape you make to the original ndarray, because it shares the same view. That doesn't necessarily belong in this video, but people will do that, and it is good to realize that rather than making a new copy or even a new view, that Python just gives a second name to the exact same data and view, if you see that in someone's code.

jvsnyc