Learn NUMPY in 5 minutes - BEST Python Library!
Вставка
- Опубліковано 12 тра 2024
- Learn Numpy in 5 minutes! A brief introduction to the great python library - Numpy. I cover Numpy Arrays and slicing amongst other topics.
3 Data Science Learning Platforms I would recommend
1. Data Quest - bit.ly/3hcLjbY (my favourite)
2 Data Camp - bit.ly/39erDk8
3 365 Data Science - bit.ly/3hbUHdd
2 Recommended Python Courses
1. Exploratory Data Analysis with Python and Pandas - bit.ly/2QXMpxJ
2. Complete Python Programmer Bootcamp - bit.ly/2OwUA09
(These contain affiliate links, which means I receive a percentage of any sales made. There is no additional cost for anybody clicking on them)
►Subscribe to my UA-cam Channel bit.ly/2LCdOy1
Free book for Statistical Learning (One of the best I have found)
Introduction to Statistical Learning www-bcf.usc.edu/~gareth/ISL/
Music by bensound.com
👌 Want to ace the Data Science Interview? Over 1000 Data Science Practice Questions with model solutions: bit.ly/30ul0nX
I want to learn first of all and then prepare for an interview.
Ty a lot fot tips!! I m beginner in Python and your videos are help me a lot! XD
interesting 5 min faster. to get learn
You should be awarded man for the efforts you make for teaching us numpy in a creative way
I wish you didn't use a url shortener for that. Hard to trust it.
may be we should appreciate him for his creative thinking to teach numpy in 5 min although took around 13 minutes
It's still better that 3h
@livestupid thinkbrilliant I listened in 2x 😁LOL.
Lol
we call 'em click bait but this is the first time I'm thankful xD
@Free Bird Blue Sky thank you
Imagine if someone is falling from a failed plane without a parachute and have just 5 minutes of time to learn about how to use numpy to find out the optimal landing posture to maximize likelihood of survival, and he found this video teaching numpy in 5 minutes, when he found out the tutorial is actually longer than 5 minutes midway into the video, he would be like "damn it!"
Or he can play the vid on 2.25 playback speed.
nice one
I hate when it happens to me...
i like this scenario
@Mark Would you look at that, you learned numpy so fast that you even had time to comment this while plummeting to your death.
If you total the time spent on interruptions, introductions, and conclusions, you get 8:37 leaving exactly 5 minutes of useful information on Numpy.
np.sum(video[video > interruption]) == 5
@@Nonsanity 😄👌👍
tbh the interruptions kept from wandering my mind, it brought my attention back
@@misterentername8869 when you hear the gong, bring your mind back to the breath. As you breath in and out, repeat your mantra, focus on the b[re]ath (little Yorkminster joke there for the kids).
Sounds like lots of calculations 💀
It'd be even faster if you didn't have to say, "Fahstah", every 20 seconds...
Hahahhaah
Lol so mean
You break my heart
Exactly lol
Yeah! It was like an annoying ad without an option to skip.
if you use these interruptions, you should use it more strategically. for example between 2 topics, so the viewer can build up a new focus.
but because of your random interruptions, i was distracted because i expected every second a new interruption.
Exactly
no worries, i distract myself by watching other youtube videos for 10 minutes every 60 seconds
😂😂
Yeah, totally irritating. Gave it up and started looking for better quality
if you've watched 24 I can imagine Chloe sending it and Jack Bauer going like. "Damn it Chloe!"
There is a mistake in the video about the two-dimensional array. When creating a two-dimensional array, you typed:
b_list = [[9,8,7,6,5,4,3], [1,2,3,4,5,6,7]]
z = np.array([b_list])
However, there should be no "[ ]" in the second line, while it should be z = np.array(b_list)
With your code, z is a three-dimensional numpy array instead of a two-dimensional one.
You're a life saver. Thank you
Thanks Giles! What I could not learn in 2 years, thanks to you I learnt them in 5 minutes (13 actually). Amazing!
Really liked the use of photos. Made it more interesting a your typical numpy tutorial. Thanks!
How many of you found it annoying when he interrupted?? although nice video
My first liked comment!😂 thanks whoever liked it
Yes, much better without.
This is the sort of thing that annoys me about face programmers. Just cut to the chase.
For me it was opposite actually. I laughed each time.
I love his creative approach and humor. He is a superb video producer. Most programmer types are immensely boring. I have become a fan of this guy.
Very nice quality video! This is a great refresher of how NumPy could be used and how it behaves in certain situations. Thanks so much! Your work is appreciated.
I have just started an intensive five-months Data Analyst re-training. Your approach has helped me to demystify Numpy. Great job!
great video for learning but kind of annoying how he keeps cutting away and saying numpy, numpy numpy
I like those
Maybe he has Tourettes?
I liked those quirky breaks. I find this guy very inspiring.
Yes very annoying
Very very very annoying. He promises at the beginning that it will take 5 minutes. Then he broke his promises.
I liked the funny interruptions, but maybe there was too many of them. Great video btw, love learning from you!
I agree, tooooooooooooo many of them
waaaaay too many
it gets annoying after the 4th one
hahahahaha! I do this to my nephew whenever he doesn't want to eat, " one more spoon, one more spoon" makes a whole bowl , great job
Love the cutting and the fact you lied. I only realized after the first 4 minutes, but I was hooked. Good job, and thank you.
Thank you. Python newbie here. Great video. Very useful to give the example with the picture as an example of numpy's operations on an array.
i don't care if it is not 5 min, this is freakn amazing, i love it, it is fun and educational with more interaction that keeps you engaged, just amazing
I´ve just started to learn programming with python. Working with numpy is my goal. Thank you for the awesome tutorial!
Thanks a ton! just started research in uni for data science and this really helped me grasp numpy better. You rock
Thanks for this practical and concrete introduction to NumPy
I customized the playback speed and watched it in 5 minutes. Well done, great video!
Please do one of these on Pandas and Matplotlib!!
Great channel btw.
He has both of them.
I came after those 2. Great stuff!
Bruh... Pandas in 5 minutes will be like 40 minutes.... Too big library to cover bruh
That's 13 minutes of my life that I DON'T want back. Thanks. Brilliant idea using a photo image.
Thank you very much, Sir, I came to know many things in just 5 min which is very helpful
The interruptions were annoying :)
Af
He really underestimates the attention span of his audience.
"Go quicker" [interrupts every 30 seconds, and repeats how to find the type of the number 10 times].
All that aside, it's a good introduction to what you can do with numpy.
Could have done it in 5 minutes without the interruptions...
...but also very 'meta'. Everyone clicks the 5 minute video but it takes 10 minutes to learn.
Well, it could be a great video but you got really annoying trying to be funny.
you took 11 mins to teach me what i wanted to see. I was having the exact same reactions you were displaying in the video. thanks!
I have a feeling your channel is about to explode. Every time I get recommended awesome under-the-radar channels, they seem to gain subscribers really fast (given the content keeps coming). Recommender systems... the more you know. Probably user-user similarity.
This is incredibly comprehensive and condensed. I might need to watch it in 20 minutes
guys it's actually nearly 5 minutes, just watch at speed x2 it's the speed at which he actually spoke, he just slowed it down for us. ;D
Now you learn how to vectorize and use broadcasting rules efficiently to avoid becoming traped in python loops.
Great!! Lovely style and good demonstration... Thank you for sharing this.
感谢!最近正在接触numpy相关知识!
Thank you Sir.
Your videos really helpful for everyone who tried to understand Numpy Lib.
Brilliant video, really clearly explained! Thanks so much!
You made this look BOTH interesting AND funny. Thank you 😁👍
What directory does io.imread look in when you upload from file? Thanks for all your tutorials!
Great video easy to follow. I found the flip back to you and early on to the keyboard and pad distracting. Your teaching is good enough to make me watch it all after a few mins of trying to get me to keep watching. Thanks for sharing.
Thanks for the video. The image processing was really great, I suppose the photos is of York city which u recently visited.
It is!
Fantastic summary of it all. Wouldn't have minded some datasets to work through it on screen at the same time.
Great Video. Can u please make a fast paced continuation video to this video, including more useful functions and stuff for DataScience-NumPy
You're such a likeable amusing man! I just love your style of tutorial. Succinct, meaty and funny! Keep it up! ;)
very nice explanation thanks for sharing all resources and links u are ultimate, excellent ,superb
It Would be nice if you attatch a link to python file/notebook used in the lesson to further practice. Great video after all.
I remember watching this over a year ago. The interruptions were irritating.
But Now, I can appreciate the making of this video while I seek to understand NumPy.
Great video. Have to watch a couple of times. A lot packed into a short video.
At 2:44,
np.empty(3) doesn't creates an empty array.
Rather it creates an array with random values.
By the way, your teaching style is really fantastic. Kudos!
Same..but why is this happening
Found the interruptions helpful because they got me focused, thanks for a great vid hope you make more like these
Very well explained in less time. Nice Sir 👍
great video! looking forward to watching your other videos! keep up the good work!
The title is so engaging and plus the way you present it . Thanks! Looking forward for more such quick learning videos.
Such nice video....and very great way to present concepts graphically using the .jpg approach !!
Even though you took a bit time, your video tutorial was amazing one.
To learn sth, time is needed and to teach to someone exactly it also need much time.
It's fair enough. Thanks for your video, I will see your video again. Thank you
love these videos. keep them coming!
Thank you very much, brother! This video was very informative to me. Now I feel more confident to talk about Numpy. I think I've really been numpied out haha
Thank you for the shift+enter!!! Man, i've been pressing run this whole time!!!
Thanks! Entertaining and informative :)
There is an error in the video. In minute 3:22
If you want to convert a list to numpy array by name, just add the name between the curved brackets not the square brackets
E.g. a_list=[3, 6, 9, 0, 13]
Example a_array = np.array(a_list)
NOT np.array([a_list] ) as you did!
The problem is that what you did will make a wrong shaped array that will be cause errors when you try to reference or slice.
Thanks for the rest of your video.
I was wondering about this. Thanks doctor.
It depends of what you want to do, you are right, but he is not wrong, i ve used arrays that way (for example with cv2).
what do you mean wrong shaped array?
@@StellaKatsarou If you have the array np.array([3, 6, 9, 0, 13]) its shape will be 5*1; i.e. a vector, while the array np.array([[3, 6, 9, 0, 13]]) (Notice the double square bracket) has a shape of 1*5; i.e an array of 1 row and 5 columns. Wrong shaped means you want 1*5 you got 5*1, which are totally different in the array terms.
@@drnesr The shape of np.array([3,6,9,0,13]) is (5,) = (1,5) but not a good representation. The shape of array np.array([[3, 6, 9, 0, 13]]) is (1,5) which gives the same result as before, but this is a better representation and a Standard* way. Hope I helped
Great video, having the distraction was good. Kept you on the ball... very clever way to help learn... cheers
you're the best. Continue your work...
Thanks very much for the lesson!!👏🏽👏🏽👏🏽
I really enjoyed the interruptions. They got me smiling.
Usually i increase the speed of lectures from other people but this one is really great... quick direct and with practical examples.....
Great video, thank you :D
Is there a way to make my images black and white and do some gray scale statistics?
Hello
Thank you for the video!
Remember, I asked you to create a machine learning program using udemy udacity and coursera. and I wanted to ask if you were going to do it, if so then when will this video be released?
Nice quick introduction!! Just what I needed to refresh my numpy after a while i did not use it!! That's what I wanted, more numpy!!!
In contrast with other comments, I found the flash-interventions kind of funny and fully in line with the title and nature of this tutorial. They add the the author's personal touch and provide rhythm to this super-fast lesson!!
Your videos are great. I watched only two so far but I would continue watching. Keep posting. Do it your way, people shouldn't (imo) focus on the interruptions as the content is very informative and concise in your videos. Thanks!
Why is everyone complaining about the interruptions. The guy was making the video lighter and enjoyable. Very concise tutorial indeed
Great quick tutorial. Thanks a lot!
Yes, it is longer than 5 mins. Yes, there may be 1 too many 'breaks' for a break & a possible cause for annoyance. However, this is a great intro to "Getting Started" & it gets straight into the business of explaining the topic without trying to squeeze just enough examples to fit 5 mins. I would rather get the good stuff. It was 13 mins well spent.
If it is not too much to ask, a Git repository would be great for a Newbie to dive right in.
BTW, I arrived here after Pandas and Matplotlib.
I found interruptions quite amazing and they helped me focus. Good video for a starter like me but wish he told how an advanced or a beginner tutorial this is.
Thank you very much for this introduction! Just one thing does not work for me: I cannot perform the "dot multiplication" using '@', I must use 'np.dot()' function.
Excellent, you have given very good insight in NumPY lib
appreciate !
thank you very much...looking forward for the next numpy video...
In line 17 there is an error, you put a list inside a list, so when the array gets created you end up with the values inside an additional list (list in a list), which was not the intended behaviour.
Thank you! It was just the time that the video needed.
I really enjoyed the video! Cool bro, you have different type of explaining the programming concepts!!!
BEST Pythonic Teacher EVER!
I love your 365 course..
GREAT, very useful thanks a lot, helped me so much in my training
Very informative and helpful. Don’t apologise for being more than 5 minutes. Thank you.
Thank you for quick review, it's nice
This was so much fun to watch; your style is a veritable joy to behold
My biggest problem has been my IDE. I haven't programmed in like 10 years and came into Python from that decade-long break with new born eyes. My first ever experience with an interpretive language and I absolutely ADORE Python.
All of my prior experience was within Visual Studio, specifically VB & C# on the .NET framework. And in one year in particular we used the XNA library in conjunction with C# to create indie games on the Xbox. Tons of experience on TopCoder and BPA competition.
Point is, it didn't take me long to get a grip on Python. It's a beauty. But I've been programming exclusively on a mobile IDE for Android that is just a barebones text editor with a compiler and it was enough to get acquainted with Python but it's failing me when it comes to libraries.
I feel like I've hit a brick wall with learning. I can rip open source code for games and know exactly what's going on, but I'm lost when it comes to the limitations of the functions within libraries. I see they're spawning rectangles with .rect functions and I can interpret that they're feeding it X,Y coordinates for location and size, as well as mathematically calculating things like center and positional manipulation and yadda yadda yadda.
I see imports like tkinter and pygame and various functions within those libraries but the extent of their use-cases is lost on me because SO much of learning libraries comes down to the assistance within an IDE. Hitting the dot key and reading out a list of all possible functions with dev notes on the specifics of their functionality.
Just seeing this made me realize exactly what my problem is. I've got to switch tools.
Does anyone have any advice for a combination of tools, like an IDE and maybe even add-ons that would make this process as effortless as possible? My only experience is with Visual Studio but I've heard good things about Atom / Jupyter and even things like Kite. If anyone has a quick infodump that could fill me in I would much appreciate it.
Great video. You managed to teach me numpy in 5 minutes, in 13 minutes!
Wouldn't it be convenient if there's shortcut for executing code and other functions in the menu?
Nobody had taught numpy like this. Great job
I was actually happy for not being only 5 mins because you can't learn a library so quick and i thought it would be one of those videos that only say to you things like "Numpy is great... you should learn it, I hope you found this video help full click the like button". Nice content man thanks, very helpful for a guy that is to bored to read the documentation!
Does someone have the Jupyter notebook of this. Thank you so much for the tutorial man :)
Great Tutorial! Love it!
Thank you this really helped me with my cs assignment
Great video again... I know this was 9 months ago but... when I try to play with an image it's type is 'imageio.core.util.Array' - I tried with a PNG and JPG but got the same result... I've followed all the previous steps so numpy is imported... any idea what could be causing this? Thanks!
wooaw that bit of deal with image using matplotlib....loved that part!!
Incredible video!
Very dynamic, with jokes and mean while explaining really useful tips to work with this incredible library.
THANK YOU!
What index does argmax show? Image array has 3 sub-arrays. Does it flatten the image first? How to get argmax for each sub-array? output should be array of size 3.
Can you do one for sklearn and tensorflow please ?
Please tell me to get this notebook so that I could practice these codes??. PS: Love the way you teach! very engaging.
Brilliant. Pure gold, thanks a lot
It's like the short-attention-span theater version of short-attention-span theater. :) Thanks for the great, quick intro!
Its like real life - "this should take a few days to learn" ... two weeks later...
lol!
Most likely but great to start with a good idea what to expect. Inspiration for the learning, you know.
It took me more than one hour on my clock but it was worth doing. Thanks!