NumPy Operations - Ultimate Guide to Methods and Functions for Beginners!
In this tutorial, we will dive much deeper into NumPy - focusing on important array methods, functions and of course - math! 🤓
We will begin with a quick recap of the previous tutorial and we will then move on with lots of detailed examples and handy tricks!
You can find links to my previous tutorial (and other NumPy-related videos of mine) in the related videos section below.
📝 quick note: at 24:18 - the floating point numbers originated from (b/a) and not from np.floor()
⭐ CLONE MY CODE ⭐
-------------------------------------------------------
* Sorry code is unavailable, RIP Wayscript 😭😭😭*
🎥 RELATED VIDEOS 🎥
-------------------------------------------------------
⭐ Ultimate Guide to NumPy Arrays (PART 1 of this tutorial):
• Ultimate Guide to NumP...
⭐ Python Learning Roadmap:
• Python Learning Roadma...
⭐ Train Basic Neural Network with NumPy and Pandas:
• Train Basic Neural Net...
⭐ Basic Guide to Pandas:
• Basic Guide to Pandas!...
⏰ TIME STAMPS ⏰
-------------------------------------------------------
00:00 - intro
--------------♻️ RECAP ♻️---------------
00:30 - create 2D demo arrays
01:56 - dtype attribute
-------------------------------------------------------
02:52 - fill array with values
03:41 - assignment operators
04:12 - NumPy is Python or C?
06:11 - sum of array
06:52 - sum of columns or rows only
08:36 - product of array
09:15 - average of array (mean)
09:31 - minimum and maximum values
10:02 - index of minimum and maximum values
10:33 - peak to peak method (ptp)
11:10 - size attribute
11:50 - flatten vs ravel methods
13:03 - repeat function
14:10 - non-flat repeat function
14:50 - unique function
15:20 - diagonal function
16:05 - convert array to list
16:38 - save array to file
17:12 - swap axes of array
17:56 - transpose method
18:27 - T attribute
19:02 - NumPy documentation
20:07 - simple operations on 2 matrices
21:12 - modulo
22:31 - floor division
24:26 - matrix multiplication
27:41 - thanks for watching! :)
🔗 LINKS AND CREDITS 🔗
-------------------------------------------------------
⭐ NumPy Documentation:
numpy.org/doc/...
⭐ Emoji from:
www.flaticon.com/
⭐ Text Effects from:
mixkit.co/free...
Пікірлер: 92
Can you please make a whole playlist on object detection algorithms? I love how you explain everything so easily!
@kasturibasu8653
2 жыл бұрын
Oh and python implementation of them as well 🤩 Please?
@adisonfryman144
Жыл бұрын
I agree!
This numpy video serious is the only video i will send, if some one ask me how to use numpy. You have a great approach for teaching. Thank you
Thank you for taking the time to make these videos. It has been really helpful and empowering!
Amazing That's what I was looking for Thanks so much
@PythonSimplified
2 жыл бұрын
Yey!!! Super happy to help, enjoy! :)
I really like that u explained np.dot method in 3 different ways 🙂
Thanks for another great video. You descriptions are always so clear and precise.
I've been using this and found that the numpy operations are very handy. And on the subject of C, I've learned that it's not too difficult to pass pointers to the arrays into C functions using the ctypes module and operate on them directly in C, which is very fast indeed. I've found that while the mass operations in the numpy module are fast and convenient, that the iterations through them in Python are actually slower than through a list. But pass them to a C function and it's several times faster.
I personally admire this great channel and this great tutor. I have learnt many things that I got stuck in. Thanks !!!
Thank you so much! It's the best, the most informative and the most emotional tutorial with excellent English pronunciation what I have watched before! You are the Best! Thanks.
This is by far the best video i have found on numpy arrays basics n related operations... it's a very interesting and thorough video... ❤
Very nice tutorial, now I understand NumPy much better, thanks a lot!.
Found your vid on converting py to exe and loved your presentation! Subbed your chan to strengthen my skillz.👍
Great video! I watch them before class all the time! Have you done the video explaining matrix multiplication yet?
Great videos ! 👍 welcome from Egypt 🇪🇬
Thank you, Maria!
Very nice explanation of the built-in methods of NumPy. Really a great tutorial.
A pickle here. In numpy sort method the axis is -1 for row and 0 for columns from your last video. Consistent, no more.
You are awesome. Informative videos. Thanks Mariya
5:24 wonderful plot twist. 10/10 IGN
Thank You MARIYA, because last time i make the SMARTHome about behaviour using C4.5 Algorithm and FUZZY Entrophy base ANDROID 👍🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥 about numpy or numeric pyhton
Thank you for this video. Easy to understand Numpy. Very usefull, i think.
Perfect explanation and thanks for sharing the graphics.
You are awesome. Thanks.
Well explanation, easy to follow and learn, very informative.
Thanks for sharing this video, I will have to watch it in small chunks as my mind is blown 😄
Science is the sword that does not miss, ,which you strike whoever you want, increases with a lot of giving and decreases with a lack of giving,additionally in your case increase your beauty
Try this: import PIL.Image as im import numpy as np color = 200,100,255 #try different values 0-255 img = np.full((800,800,3), color, np.uint8) img = im.fromarray(img, 'RGB') img.save('sample.png', 'PNG')
You should start a whole online course on Coursera or EdX. You are damn good. ❤
Thank you for the links! (and the video itself too) 😄
what i want from you is English Course with support! i will still remind you this ideas !
@PythonSimplified
2 жыл бұрын
It will take me some time to get there but it's definitely an option! 😉 I learned English when I was at school so I still have lots of notebooks of grammar rules and all kinds of goodies! 😊
@vasylpavuk391
2 жыл бұрын
@@PythonSimplified o yeah, English grammar is often a problem for me :) :) :)
@learnenglish699
2 жыл бұрын
@@PythonSimplified can u send us
pronounce very understandable, thank you :)
Great video!
Awesome!
@PythonSimplified
2 жыл бұрын
благодарю Евгений! 😊
Thank you.
@easydatascience2508
Жыл бұрын
You can watch mine too. The channel provides detailed tutorial playlists for Python and R, with downloadable source files (see description of the video).
Thank you so much !
Please tell me when to use (bracket), [square], _ underscore & .dot ... when we code on Python or numpy ?
Amazing video Maria!
I keep clicking like KZread won't acknowledge it.. Wtf. Great video, thanks for the upload
Thanks for your great content!
That was great, but for the next Tutorial, can you cover" pyomo" ? it's will be great if you cover some optimization problem😍
Very, very usefull. Thanks! 😊
So the "ravel" method creates a reference(array) to the original array?
thanks for the subtitles
Thanks for video. And I have question. You didn't mention about NaN. For me it's clear, but I didn't find and easy way to explain it to students (but INF is understandable for them). Do You have any idea?
Love your videos!
very usefull one
you''re smart
Beautiful, I mean both the teacher and the video.
I know python basic and advance but not understanding which one is good books or KZread tutorial
My default is int32 rather than 64, could be different version of python or numpy, not sure
@PythonSimplified
2 жыл бұрын
I believe it depends on your computer hardware and operating system, Sinisa 😃 My AlmaLinux laptop also defaults to int32 :)
@Sinke_100
2 жыл бұрын
@@PythonSimplified os is win 10 in this case now, thanks for info Mariya 👍🏻
Numerical python! that's what I wanted 😃
@PythonSimplified
2 жыл бұрын
That's awesome, enjoy!! :)
heeeey there :D
I can't get numpy to run on my Visual Code. I tried pip install , search nothing works got any ideas ? it works on python idle just fine
For you we grow up
🥑⭐ really good
Eres genial
Nic mam I want this toter
You are amezing ❤️👍
Plz create some video for pyspark
average and mean are two different things :)
❤❤
is it just me or the sound is only on the right side
Numpy wow ❤️😍
@PythonSimplified
2 жыл бұрын
WowPy! 😉
GOOD
Please teach Coding with mobile
the background music is as nice as you
You are so beautiful and smart! Thank you for the video
5:30 pu puffffffffftttttt :)))
youre so nice ❤️
Apparently my math is so bad I was lost from the beginning.. public School failed me
I would really like to know why people use NumPy, I cant find any useful tutorials on how it is used in data science projects or other fields.
Man.....having a wife that programs and codes.....and Beautiful.......If Eve coded we would still be in the Garden of Eden......
So cool video and simple to learn from it. Thank you Maria. P.S. Probably it's nice to demonstrate also numpy.fill_diagonal
@vasylpavuk391
2 жыл бұрын
like here: import numpy as np a = np.zeros(9).reshape(3,3) np.fill_diagonal(a,1) print(a)
I think I'm fallen in love with you
😈 666
beautiful girl give excellent python lectures
That was fantastic Thank you 🙂
Thanks!