The Python Function You NEED For 2D Data

Ғылым және технология

Check out my course on UDEMY: learn the skills you need for coding in STEM:
www.udemy.com/course/python-s...
This video covers the numpy.meshgrid function:
numpy.org/doc/stable/referenc...
Code:
github.com/lukepolson/youtube...
Discord:
/ discord

Пікірлер: 39

  • @MrPinknumber
    @MrPinknumber2 жыл бұрын

    Really love these tutorials you do about scientific programming. Thank you :)

  • @DrAtomics

    @DrAtomics

    2 жыл бұрын

    Same 🤙

  • @sagsolyukariasagi
    @sagsolyukariasagi2 жыл бұрын

    Great! I was just trying to making sense of np.meshgrid, for a project. Thank you for the best explanation!

  • @tommychong4prez
    @tommychong4prez11 ай бұрын

    Thank you for the tutorial! I needed to get my head around meshgrid for my machine learning course and this helped quite a lot.

  • @Astro_sam_8543
    @Astro_sam_85432 жыл бұрын

    Love Your Videos. You have no idea how much you have helped me during my exam days.

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

    I have used this function many times, but never really understood it. Thanks for a very helpful video.

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

    Yet another great tutorial. These tutorials help me a lot conquering python.

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

    Simply awesome...More on p.functions please...Really essential.

  • @dan_pal
    @dan_pal6 ай бұрын

    Best explanation in the whole site. Thank you so much!

  • @sehbanomer8151
    @sehbanomer81512 жыл бұрын

    Great tutorial! alternatively, you can take advantage of numpy broadcasting semantics x = np.linspace(-5, 5, 500) f = (x[:, None] ** 2 + x[None, :] ** 2 < 1).astype(float)

  • @frankkoslowski6917

    @frankkoslowski6917

    2 жыл бұрын

    You might also find that .astype(float) may be omitted in the instruction and a slightly crisper-looking yellow circle thus be obtained. Which left one with the conclusion that plt.pcolormer(xv, yv, f) is quite happy processing expressions intrinsically boolean without requiring any floating-point analog.

  • @okiesumos
    @okiesumos5 ай бұрын

    Best meshgrid explanation!

  • @Louis-ml1zr
    @Louis-ml1zr2 жыл бұрын

    A série on python functions Amazing idea !

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

    Thankyou so much, you're a life saver!!

  • @frankkoslowski6917
    @frankkoslowski69172 жыл бұрын

    Try omitting .astype(float) and be as surprised as this one was, that passing a boolean array `f` as argument to plt.pcolormesh(xv, yv, f) is not only perfectly legal but also affords us a sharper outline of the yellow circle.

  • @samuelluis6590
    @samuelluis65902 жыл бұрын

    Could you show how to plot 3D graphs ? And thanks for your content, it help me a lot!

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

    you talk with your hands like a physicst (not like italians!) I love that, thx for the contents!

  • @ssshukla26
    @ssshukla262 жыл бұрын

    Really a good video. 👍

  • @ahrampark5150
    @ahrampark51505 ай бұрын

    Fabulous. Thanks!

  • @Fuxx90
    @Fuxx902 жыл бұрын

    I didn't know about pcolormesh... will try this out

  • @DeShark88
    @DeShark8811 ай бұрын

    Could this be used for calculating numerical solutions of, e.g. solutions of Poisson/Laplace equation with masked boundary conditions? That would make an awesome video!

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

    Very explanation!

  • @cerebro8326
    @cerebro83262 жыл бұрын

    Deeply love this series. Thank you so much! Keep going.

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

    It was mind-blowing...

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

    I want to get the value of f when i put mouse on the graph, is there any function for doing that?

  • @fizixx
    @fizixx2 жыл бұрын

    How are you expanding & collapsing the code cells? Or is this just vid editing?

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

    Thank You! Finally I got it!

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

    What theme is that used in the notebook?

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

    helpful 👍

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

    does anyone know how to plot using data file?

  • @tilkesh
    @tilkesh9 ай бұрын

    Thanks

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

    how to plot from data file

  • @tedexd4019
    @tedexd40192 жыл бұрын

    np.arange(10) does the same thing as np.arange(0,10,1)

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

    thanks

  • @anatoliyzavdoveev4252
    @anatoliyzavdoveev42522 жыл бұрын

    👏👏💪

  • @fizipcfx
    @fizipcfx2 жыл бұрын

    you get what you f*cking deserve, a sub :)

  • @harp-692
    @harp-6922 жыл бұрын

    can you solve my P?

  • @justarandomcatwithmoustache

    @justarandomcatwithmoustache

    2 жыл бұрын

    Too small to slove Leorio

  • @harp-692

    @harp-692

    2 жыл бұрын

    @@justarandomcatwithmoustache let mr.P check first ;)

Келесі