No video

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

  • @kasturibasu8653
    @kasturibasu86532 жыл бұрын

    Can you please make a whole playlist on object detection algorithms? I love how you explain everything so easily!

  • @kasturibasu8653

    @kasturibasu8653

    2 жыл бұрын

    Oh and python implementation of them as well 🤩 Please?

  • @adisonfryman144

    @adisonfryman144

    Жыл бұрын

    I agree!

  • @natnaelsisay1424
    @natnaelsisay14245 ай бұрын

    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

  • @alisonhenley2551
    @alisonhenley2551 Жыл бұрын

    Thank you for taking the time to make these videos. It has been really helpful and empowering!

  • @mohamedpedrou2898
    @mohamedpedrou28982 жыл бұрын

    Amazing That's what I was looking for Thanks so much

  • @PythonSimplified

    @PythonSimplified

    2 жыл бұрын

    Yey!!! Super happy to help, enjoy! :)

  • @Sinke_100
    @Sinke_1002 жыл бұрын

    I really like that u explained np.dot method in 3 different ways 🙂

  • @pythonixed4448
    @pythonixed44482 жыл бұрын

    Thanks for another great video. You descriptions are always so clear and precise.

  • @undeadpresident
    @undeadpresident Жыл бұрын

    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.

  • @fridmamedov270
    @fridmamedov2702 жыл бұрын

    I personally admire this great channel and this great tutor. I have learnt many things that I got stuck in. Thanks !!!

  • @dyg6945
    @dyg69452 жыл бұрын

    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.

  • @swetarani8375
    @swetarani8375 Жыл бұрын

    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... ❤

  • @DiegoLopez-nj3pb
    @DiegoLopez-nj3pb Жыл бұрын

    Very nice tutorial, now I understand NumPy much better, thanks a lot!.

  • @TRUESTORIES-YT
    @TRUESTORIES-YT2 жыл бұрын

    Found your vid on converting py to exe and loved your presentation! Subbed your chan to strengthen my skillz.👍

  • @requirementsrequired8822
    @requirementsrequired88222 жыл бұрын

    Great video! I watch them before class all the time! Have you done the video explaining matrix multiplication yet?

  • @human7863
    @human7863 Жыл бұрын

    Great videos ! 👍 welcome from Egypt 🇪🇬

  • @Nervosa80
    @Nervosa802 жыл бұрын

    Thank you, Maria!

  • @rahulkmail
    @rahulkmail2 жыл бұрын

    Very nice explanation of the built-in methods of NumPy. Really a great tutorial.

  • @Jocjabes
    @Jocjabes Жыл бұрын

    A pickle here. In numpy sort method the axis is -1 for row and 0 for columns from your last video. Consistent, no more.

  • @MyPython_
    @MyPython_ Жыл бұрын

    You are awesome. Informative videos. Thanks Mariya

  • @DanielHernandez-hl8tn
    @DanielHernandez-hl8tnАй бұрын

    5:24 wonderful plot twist. 10/10 IGN

  • @iskandarabbas7896
    @iskandarabbas78962 жыл бұрын

    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

  • @eizou.inkomika
    @eizou.inkomika Жыл бұрын

    Thank you for this video. Easy to understand Numpy. Very usefull, i think.

  • @acantun
    @acantun Жыл бұрын

    Perfect explanation and thanks for sharing the graphics.

  • @furkanozata6775
    @furkanozata67756 ай бұрын

    You are awesome. Thanks.

  • @helihobby
    @helihobby9 ай бұрын

    Well explanation, easy to follow and learn, very informative.

  • @Tobs_
    @Tobs_2 жыл бұрын

    Thanks for sharing this video, I will have to watch it in small chunks as my mind is blown 😄

  • @amoorinet..
    @amoorinet..7 ай бұрын

    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

  • @Sinke_100
    @Sinke_1002 жыл бұрын

    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')

  • @bibhakardas5761
    @bibhakardas5761 Жыл бұрын

    You should start a whole online course on Coursera or EdX. You are damn good. ❤

  • @EmaMazzi76
    @EmaMazzi762 жыл бұрын

    Thank you for the links! (and the video itself too) 😄

  • @jesusmysavior7843
    @jesusmysavior78432 жыл бұрын

    what i want from you is English Course with support! i will still remind you this ideas !

  • @PythonSimplified

    @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

    @vasylpavuk391

    2 жыл бұрын

    @@PythonSimplified o yeah, English grammar is often a problem for me :) :) :)

  • @learnenglish699

    @learnenglish699

    2 жыл бұрын

    @@PythonSimplified can u send us

  • @MartinEden-ps6ld
    @MartinEden-ps6ld2 жыл бұрын

    pronounce very understandable, thank you :)

  • @kennethstephani692
    @kennethstephani692 Жыл бұрын

    Great video!

  • @user-vd1km3dw2w
    @user-vd1km3dw2w2 жыл бұрын

    Awesome!

  • @PythonSimplified

    @PythonSimplified

    2 жыл бұрын

    благодарю Евгений! 😊

  • @jongcheulkim7284
    @jongcheulkim7284 Жыл бұрын

    Thank you.

  • @easydatascience2508

    @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).

  • @nosao2748
    @nosao274811 ай бұрын

    Thank you so much !

  • @naturalworld5006
    @naturalworld50064 ай бұрын

    Please tell me when to use (bracket), [square], _ underscore & .dot ... when we code on Python or numpy ?

  • @ZurioSi
    @ZurioSi2 жыл бұрын

    Amazing video Maria!

  • @paxdriver
    @paxdriver2 жыл бұрын

    I keep clicking like KZread won't acknowledge it.. Wtf. Great video, thanks for the upload

  • @MatthieuKhairallah
    @MatthieuKhairallah Жыл бұрын

    Thanks for your great content!

  • @alirezazarafshani
    @alirezazarafshani2 жыл бұрын

    That was great, but for the next Tutorial, can you cover" pyomo" ? it's will be great if you cover some optimization problem😍

  • @Yoritomo0
    @Yoritomo0 Жыл бұрын

    Very, very usefull. Thanks! 😊

  • @flioink
    @flioink2 жыл бұрын

    So the "ravel" method creates a reference(array) to the original array?

  • @alexcaruajulca
    @alexcaruajulca2 жыл бұрын

    thanks for the subtitles

  • @przemysawgrzymisawski6971
    @przemysawgrzymisawski69712 жыл бұрын

    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?

  • @Mark4Jesus
    @Mark4Jesus Жыл бұрын

    Love your videos!

  • @frenamakenson9844
    @frenamakenson98445 ай бұрын

    very usefull one

  • @carlosvazquez2710
    @carlosvazquez2710 Жыл бұрын

    you''re smart

  • @jijie133
    @jijie1332 жыл бұрын

    Beautiful, I mean both the teacher and the video.

  • @cybersecurityexpert477
    @cybersecurityexpert4772 жыл бұрын

    I know python basic and advance but not understanding which one is good books or KZread tutorial

  • @Sinke_100
    @Sinke_1002 жыл бұрын

    My default is int32 rather than 64, could be different version of python or numpy, not sure

  • @PythonSimplified

    @PythonSimplified

    2 жыл бұрын

    I believe it depends on your computer hardware and operating system, Sinisa 😃 My AlmaLinux laptop also defaults to int32 :)

  • @Sinke_100

    @Sinke_100

    2 жыл бұрын

    @@PythonSimplified os is win 10 in this case now, thanks for info Mariya 👍🏻

  • @dipeshrathore8842
    @dipeshrathore88422 жыл бұрын

    Numerical python! that's what I wanted 😃

  • @PythonSimplified

    @PythonSimplified

    2 жыл бұрын

    That's awesome, enjoy!! :)

  • @mibrahim4245
    @mibrahim42452 жыл бұрын

    heeeey there :D

  • @rfpcs1
    @rfpcs12 жыл бұрын

    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

  • @barunchowdhury87
    @barunchowdhury873 ай бұрын

    For you we grow up

  • @jackroark6928
    @jackroark6928 Жыл бұрын

    🥑⭐ really good

  • @aromasd
    @aromasd Жыл бұрын

    Eres genial

  • @KamalUddin-ih1vs
    @KamalUddin-ih1vs2 жыл бұрын

    Nic mam I want this toter

  • @sumudunethmina669
    @sumudunethmina6692 жыл бұрын

    You are amezing ❤️👍

  • @Test_subject2.0
    @Test_subject2.02 жыл бұрын

    Plz create some video for pyspark

  • @nishithirani6086
    @nishithirani60862 жыл бұрын

    average and mean are two different things :)

  • @barunchowdhury87
    @barunchowdhury873 ай бұрын

    ❤❤

  • @sammflynn405
    @sammflynn4052 жыл бұрын

    is it just me or the sound is only on the right side

  • @diwakar_tsn
    @diwakar_tsn2 жыл бұрын

    Numpy wow ❤️😍

  • @PythonSimplified

    @PythonSimplified

    2 жыл бұрын

    WowPy! 😉

  • @grownupgaming
    @grownupgaming8 ай бұрын

    GOOD

  • @cybersecurityexpert477
    @cybersecurityexpert4772 жыл бұрын

    Please teach Coding with mobile

  • @manu-singh
    @manu-singh Жыл бұрын

    the background music is as nice as you

  • @dominicaguiling1440
    @dominicaguiling14402 жыл бұрын

    You are so beautiful and smart! Thank you for the video

  • @Fredy1981
    @Fredy19812 жыл бұрын

    5:30 pu puffffffffftttttt :)))

  • @MrSorinCl
    @MrSorinCl2 жыл бұрын

    youre so nice ❤️

  • @JaveGeddes
    @JaveGeddes2 жыл бұрын

    Apparently my math is so bad I was lost from the beginning.. public School failed me

  • @adisonfryman144
    @adisonfryman144 Жыл бұрын

    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.

  • @InobuZ
    @InobuZ2 жыл бұрын

    Man.....having a wife that programs and codes.....and Beautiful.......If Eve coded we would still be in the Garden of Eden......

  • @vasylpavuk391
    @vasylpavuk3912 жыл бұрын

    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

    @vasylpavuk391

    2 жыл бұрын

    like here: import numpy as np a = np.zeros(9).reshape(3,3) np.fill_diagonal(a,1) print(a)

  • @martincastello9866
    @martincastello9866 Жыл бұрын

    I think I'm fallen in love with you

  • @francisnadeau8282
    @francisnadeau82824 ай бұрын

    😈 666

  • @James-ss9hi
    @James-ss9hi Жыл бұрын

    beautiful girl give excellent python lectures

  • @horus4862
    @horus4862 Жыл бұрын

    That was fantastic Thank you 🙂

  • @horus4862
    @horus4862 Жыл бұрын

    Thanks!