What Does "yield from" Do in Python?

Поделиться
HTML-код
  • Опубликовано: 12 июн 2024
  • In this video we take a look at the yield from statement in Python.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine.com/books/
    💻 The Algorithm Bible Book: www.neuralnine.com/books/
    👕 Programming Merch: www.neuralnine.com/shop
    💼 Services 💼
    💻 Freelancing & Tutoring: www.neuralnine.com/services
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine.com/
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/NeuralNine
    🎙 Discord: / discord
  • НаукаНаука

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

  • @EbenHodzi
    @EbenHodzi Месяц назад +3

    Great video. Very helpful

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

    Very nicely done! I truly value your videos.

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

    Thanks a lot Neuralnine

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

    Your videos are really nice 🙂

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

    Thank you!

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

    Thank you! Do you have plans to make videos like this about Rust? Hard to find channels almost like yours with Rust on focus

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

    Cool tip.

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

    thx)

  • @mike4617
    @mike4617 Месяц назад +1

    succinct

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

    your videos and the way you teach are great
    but the sound of your keyboard is really irritating, reduce it's sound if possible

  • @franktewierikholscher
    @franktewierikholscher Месяц назад +3

    Nice video, but why is this usefull?

    • @Septumsempra8818
      @Septumsempra8818 Месяц назад +1

      Crates generators. I've only ever used this in two scenarios: machine learning where you step through data (I think its a memory preservation thing) and in a Web scraper. Scrapy uses generators to crawl a page and whether to stop or continue based on whether there is a next page or not.

    • @Little-bird-told-me
      @Little-bird-told-me Месяц назад

      @@Septumsempra8818 you should start making videos too. nice explanation,thanks

    • @Rafael-bd4ei
      @Rafael-bd4ei Месяц назад

      That's quite interesting, I'd love to use them one day in ML

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

      @Rafael-bd4ei sklearn's train test splitter. I think it is for time-series problems. As you loop through it you get a new time window

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

      It's for chaining generators together

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

    Why does every RUclipsr nowadays have to put there freaking huge mic into the shot? It so distracting, especially this huge black bloob! :D