What is Iterators in Python?

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

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

  • @vaibhavtiwari8670
    @vaibhavtiwari8670 Год назад +24

    I am a data engineer working on python from last 3 years almost watched thousands of videos but this content is GEM 💎 seriously the knowledge you are sharing is best in all time on youtube keep working in this way sir and thanks for such informative and detailed content

  • @Yohanryan
    @Yohanryan Год назад +4

    He knows where will the student get stuck , and said exactly what the student needs to hear
    Hats off man!

  • @AltafAnsari-tf9nl
    @AltafAnsari-tf9nl Год назад +3

    I am a Data Scientist with 1.5 years of experience but today i understood how iterators save so much of space 🤣You are exceptional !!!

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

    man u r exceptionally intellectual!! loved the way of teaching.. concepts are crystal clear now.. please please dont stop what u r doing.. lot of students want a teacher like u.

  • @harshitchhipa
    @harshitchhipa Год назад +1

    bhaiii....ye hoti h next level teaching skillssss ☠

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

    Keep doing the great work sir.... Ur 100 days of ML is superb.. I m from non tech background but then also it's like crystal clear.

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

    I have seen many video regarding this topic but nobody explained like you in detail and in very simple manner by giving examples. Best video on RUclips to understand iterators and generator . Thank a lot.

  • @rajeshmidha3406
    @rajeshmidha3406 2 года назад +3

    Thank you bro, Your knowledge and style of teaching is really amazing, it shows your hard work and strong efforts. Thanks once again.

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

    sir ur teaching style is really best
    Best means tooooooo best,
    one day campusX family may be 5M, I am also waiting sir.

  • @aditya.tak.17
    @aditya.tak.17 3 месяца назад

    One of the best videos on this topic out there 🔥

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

    your way of teaching is very different and amazing.... no one can explain like this

  • @rd-tk6js
    @rd-tk6js Год назад

    Best explanation on iterator on the web, thanks !

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

    Excellent detail you have shared specially memory saving technique also how loop works it is a great help

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

    Sir great work, nice explanation, always appreciated!

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

    simply it is great...... hats off 💕💕💕💕💕💕💕💕💕💕

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

    GReat work sir @campusX!
    😍

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

    Each and every term is understandable sir👍👌👌

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

    Wish I could give million likes 👍 to this video…well done mate..

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

    Boss you are simply awesome, love the way you teach 😍

  • @MonikaSingh-nu5sg
    @MonikaSingh-nu5sg 2 года назад +1

    Best explanation...really thank full

  • @tanmayshinde7853
    @tanmayshinde7853 2 года назад +8

    Another one request sir, please make video on regular expression for NLP

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

    Sir I think you need to add python projects also because your way of teaching is very much easy love u from Pakistan👍

  • @pravinshende.DataScientist
    @pravinshende.DataScientist 2 года назад

    wow fantastic .. and i get the meaning of the errors which i have facing many times .. thank you sir very much .. every time you are adding knowledge in my data science carrier .. I have seen almost all your lectures and i find it very advatageous to me.. your teching style have always practicle touch so we becames happy .. and you give ans. to every why question so get the concept in full depth!!

  • @Lucifer-wd7gh
    @Lucifer-wd7gh 2 года назад +7

    Time series analysis please

  • @sher.5027
    @sher.5027 Год назад

    Nice video, thanks for the video, it helps a lot to me, even though at first I didn't except it, but I will get after seeing the video again.

  • @prathmeshshinde-mn5so
    @prathmeshshinde-mn5so Год назад

    Thank you for this superb explanation

  • @lipaacharjee9083
    @lipaacharjee9083 10 месяцев назад

    Sir, if someone will not understand from your way of teaching, then that's a worry.. heads up to you 🙏 but one of my request please make chart or flowchart on iterator iteration itarable....... I am also trying

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

    Great video sir

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

    100% pure explanation

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

    Thanks for the content, Very helpful

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

    u are brilliant....plz let me know how can i purchase your paid course

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

    Liked and Subscribed

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

    I have one question--> hame vaise bhi million of data to Import to karna padega na to memory hum kaise save kar rahe hai please replay

    • @campusx-official
      @campusx-official  2 года назад +2

      It's stored in the ROM as in hard disk

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

      @@campusx-official thank you

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

    Hi ,
    Nice video. Just one suggestion. getsizeof() does not show the size of the list along with other objects inside it. We can use pympler module to get the correct size.

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

    Can you explain why in your mera_range(1,11) implementation, stopIteration error is not raised/printed after printing 10 in the for loop?

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

      Because for loop detects that and only allows you to iterate at the point where it doesn't generate StopIteration. But, if you manually perform iteration on the mera_range object using next function, then you will notice the error.

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

    sir ye jo __next__()
    method he ye kese run horaha he agr ese kahi call ni mili he

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

    Wow
    Thank you 😊😊

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

    Hello Nitish Sir.....May be I'm having a stupid doubt. But this is regarding memory utilization of range()
    L = range(10)
    print(type(L))
    print(dir(L))
    Range does not have any __next__ method. so how it is behaving like an iterator. How it contains one element at a time. Video minute(7:18).
    Please explain.

    • @0xmatriksh
      @0xmatriksh 2 года назад

      i reckon range should have _next_ as it is iterator...
      it contains one element at the time by the help of next function

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

      @@0xmatriksh when I'm checking all associated method.. Using dir.... I'm not getting next method

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

    Hi @CampusX! Thanks for the session, I wanted to know why we need to find if an object is an iterator or iterable? what benefit would I get on knowing this?

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

    i love yoou sir as a student

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

    you are too good sir

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

    Please Cover topic Decorators

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

    Any paid couse for data analyst

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

    Good video! still confused is iterator a reference to the iterable from which the iterator is generated ? why iterator and its iterable have difference ids? when I modify iterable the changes appear in the iterator but when I del iterable then its iterator is gone off. I am confused is iterator and iterable both point to the same object? if points to the same object then why when I delete iterable and its iterator can not be accessed. one more thing is that iterator is not scriptable.thanks

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

    Thanks Sir

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

    Thank you sir

  • @yabro-zd6yw
    @yabro-zd6yw Год назад

    🥰🥰🥰🥰

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

    quality content

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

    Please make a video on python decorators 🥺

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

    Or a data scientist

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

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

    37/140

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

    done

  • @Faiz2k3
    @Faiz2k3 5 месяцев назад

    For loop nahi apne humara chumiya banaya😂😂.
    At core you're just replicating While loop in your mera_loop() function