Slicing Numpy Arrays - Numpy For Machine Learning 2

Поделиться
HTML-код
  • Опубликовано: 19 янв 2025

Комментарии • 46

  • @Codemycom
    @Codemycom  2 года назад +1

    ▶ Watch Entire Numpy Playlist ✅ Subscribe To My RUclips Channel:
    bit.ly/3Q7frEH bit.ly/2IGzvOR
    ▶ See More At: ✅ Join My Facebook Group:
    Codemy.com bit.ly/2GFmOBz
    ▶ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
    Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
    ▶ Get The Code:
    bit.ly/3mp2qJ3

  • @kevindelosreyes7970
    @kevindelosreyes7970 Год назад +6

    Happy to have found your channel. Thanks for sharing this!

  • @Tristaxx
    @Tristaxx 11 месяцев назад +1

    this is literally one of the best courses (arguably the best one) for numpy

    • @Codemycom
      @Codemycom  11 месяцев назад +1

      Glad you're enjoying it!

  • @nachodorado8734
    @nachodorado8734 2 года назад +1

    good job mate!! regards from spain

  • @Omsip123
    @Omsip123 6 месяцев назад +1

    6:58 IMO these are not the two dimensions, but two entries in a dimension. The two dimensions are given by the brackets.
    Either way, good video, thanks.

  • @benedettap.4407
    @benedettap.4407 5 дней назад

    Thank you!

  • @RuojiWang
    @RuojiWang 3 месяца назад

    Good course. Simple but comprehensive. By the way, I'm not native English speaker. I REALLY want to know what you say at the beginning of vedio.

  • @mayanksrivastava7540
    @mayanksrivastava7540 7 месяцев назад +2

    great teaching sir , but i have to say , the way you start the video with that hand gesture XD

  • @restphilanthropy
    @restphilanthropy 2 года назад +2

    100k+ subs???? Amazing 🤩

    • @Codemycom
      @Codemycom  2 года назад +1

      Yeah, a few months ago

  • @DhirajDevarapaga
    @DhirajDevarapaga 7 месяцев назад

    dude you are amazing but only suggestion i wish you used jupyter notebook instead of sublime so that we could get the outcome on the go.

  • @meetpatel5537
    @meetpatel5537 20 часов назад

    Mast

  • @latasuthar7904
    @latasuthar7904 6 месяцев назад

    Sir is it fine if i code in virtual studio code ? And this much numpy is enough for data science?

    • @Codemycom
      @Codemycom  6 месяцев назад

      Sure, you can use vscode if you like. But why?

    • @grahaml6072
      @grahaml6072 Месяц назад

      @@Codemycombecause it’s better than sublime 😂

  • @navronaman
    @navronaman Год назад

    Thank you so much!

  • @austincharles195
    @austincharles195 2 года назад

    i really like this

  • @andresgiuffre6810
    @andresgiuffre6810 Год назад

    Just curious, is there a way to slice one portion of a dimension and another different one of the other in a single line of code? I mean, if you want to get items (index) 0, 1, 2 from the 1st dimension and 2, 3, 4 from the 2nd one. I've tried a couple of things but it doesn't seem to be working.

    • @yaemiko-s4b
      @yaemiko-s4b 8 месяцев назад

      To extract specific items from both dimensions of a 2D NumPy array, you can use advanced indexing, which allows you to specify the exact indices you want to select. If you want to get items at indices 0, 1, and 2 from the first dimension (rows) and indices 2, 3, and 4 from the second dimension (columns).you can write-
      rows = [0, 1, 2]
      cols = [2, 3, 4]
      subarray = a[np.ix_(rows, cols)]
      print(subarray)

  • @Game_Studio15
    @Game_Studio15 Год назад

    at my place the error "np is not defined" appears, how do I solve it??

  • @pm_chohan
    @pm_chohan Год назад

    Everything is amazing but why sublime text?

    • @Codemycom
      @Codemycom  Год назад +3

      Because it's simple and it's the most used coding text editor in the world. Why not?

    • @grahaml6072
      @grahaml6072 Месяц назад

      @@Codemycomnot according to the stack overflow developer survey it’s not

  • @zhongcaing1989
    @zhongcaing1989 2 месяца назад

    i see u going for the Walter White look

  • @Sibusiso_Myeza
    @Sibusiso_Myeza 7 месяцев назад

    print("you are the best")
    output:???

  • @francescot.neruda6855
    @francescot.neruda6855 2 года назад

    💪🏻💪🏻

  • @bubblenugget9916
    @bubblenugget9916 Год назад +2

    heisenberg

  • @santhoshmrs6244
    @santhoshmrs6244 11 месяцев назад

    Background them use classic

    • @Codemycom
      @Codemycom  11 месяцев назад

      I don't know what those words mean

  • @MrHaykav
    @MrHaykav Год назад

    (y) 👍

  • @EddTally
    @EddTally 4 месяца назад

    First time I've heard one-ith and five-ith instead of 1st and 5th 🤣🤣
    edit: It's to make it obvious that the array starts at zero... not sure I can handle it.

  • @siavashsabet2462
    @siavashsabet2462 8 месяцев назад +1

    Good job man, but what in gods name is “fiveth”, its “fifth”. 😕

    • @Codemycom
      @Codemycom  8 месяцев назад +2

      It's helpful to understand that arrays start at zero...the zero'ith....followed by, followed by..etc. Don't be a grammar nazi over it.