What is Iterators in Python?

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 2024

ความคิดเห็น • 60

  • @vaibhavtiwari8670
    @vaibhavtiwari8670 ปีที่แล้ว +23

    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!

    • @Ishaheennabi
      @Ishaheennabi 2 หลายเดือนก่อน

      true that

  • @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 ☠

  • @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 TH-cam to understand iterators and generator . Thank a lot.

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

  • @aditya.tak.17
    @aditya.tak.17 2 หลายเดือนก่อน

    One of the best videos on this topic out there 🔥

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

  • @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 !

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

  • @faisalriaz1808
    @faisalriaz1808 3 หลายเดือนก่อน

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

  • @tanmayshinde7853
    @tanmayshinde7853 2 ปีที่แล้ว +8

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

  • @tanmayshinde7853
    @tanmayshinde7853 2 ปีที่แล้ว +2

    Sir great work, nice explanation, always appreciated!

  • @fazilkhan1114
    @fazilkhan1114 2 ปีที่แล้ว

    GReat work sir @campusX!
    😍

  • @Lucifer-wd7gh
    @Lucifer-wd7gh 2 ปีที่แล้ว +7

    Time series analysis please

  • @arindamInsightFullMath
    @arindamInsightFullMath 4 หลายเดือนก่อน

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

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

  • @MonikaSingh-nu5sg
    @MonikaSingh-nu5sg 2 ปีที่แล้ว +1

    Best explanation...really thank full

  • @atifsalam6802
    @atifsalam6802 ปีที่แล้ว

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

  • @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!!

  • @vivekvishwakarma1460
    @vivekvishwakarma1460 ปีที่แล้ว

    100% pure explanation

  • @marcusaureliusanonymous
    @marcusaureliusanonymous 2 ปีที่แล้ว +2

    Liked and Subscribed

  • @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👍

  • @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?

  • @azizullah6524
    @azizullah6524 ปีที่แล้ว

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

  • @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

  • @prathmeshshinde-mn5so
    @prathmeshshinde-mn5so ปีที่แล้ว

    Thank you for this superb explanation

  • @pankajnegi9278
    @pankajnegi9278 2 ปีที่แล้ว +1

    Great video sir

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

  • @mansikhandwe9284
    @mansikhandwe9284 3 หลายเดือนก่อน

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

  • @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

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

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

  • @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

  • @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

  • @ashishkumarchaurasiya9280
    @ashishkumarchaurasiya9280 2 ปีที่แล้ว +1

    Please Cover topic Decorators

  • @gauravshukla46
    @gauravshukla46 2 ปีที่แล้ว +2

    Any paid couse for data analyst

  • @SumanPokhrel0
    @SumanPokhrel0 2 ปีที่แล้ว

    Thanks for the content, Very helpful

  • @sumitbhot7417
    @sumitbhot7417 ปีที่แล้ว

    you are too good sir

  • @sudeepkumar9203
    @sudeepkumar9203 2 ปีที่แล้ว +1

    quality content

  • @shubhambhavsar8655
    @shubhambhavsar8655 2 ปีที่แล้ว +1

    Wow
    Thank you 😊😊

  • @CoderrX
    @CoderrX 2 ปีที่แล้ว

    Please make a video on python decorators 🥺

  • @Taraprasaddash1994
    @Taraprasaddash1994 2 ปีที่แล้ว

    i love yoou sir as a student

  • @zkhan2023
    @zkhan2023 2 ปีที่แล้ว +1

    Thanks Sir

  • @gauravshukla46
    @gauravshukla46 2 ปีที่แล้ว +2

    Or a data scientist

  • @rudrarudra345
    @rudrarudra345 2 ปีที่แล้ว

    Thank you sir

  • @yabro-zd6yw
    @yabro-zd6yw ปีที่แล้ว

    🥰🥰🥰🥰

  • @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