Pandas DataFrame - ifference Between loc[] & iloc[] |Complete loc & iloc in One Class |Class 12 - IP

Поділитися
Вставка
  • Опубліковано 29 жов 2024

КОМЕНТАРІ • 52

  • @mouparnadas7658
    @mouparnadas7658 Рік тому +7

    I think a small tweak required in the last question.
    It says about 6th to 9th row : meaning 4 rows (6,7,8,9) after
    Indexing the row we have to print the value of 5,6,7,8 th index
    Iloc(5:10) will strt from index 5 to index 9 meaning 5 rows
    Correct option should be iloc(5:9) - so rows with index 5 till 8 will be there.. meaning 5,6,7,8th index will be printed..
    Same is true for columns too...

    • @TECHQueenLovejeetArora
      @TECHQueenLovejeetArora  Рік тому +2

      please tell me the timestamp; so that i can check

    • @mouparnadas7658
      @mouparnadas7658 Рік тому

      Please check from timestamp 51:00 to 51:17
      And let me know if my understanding is correct

    • @mouparnadas7658
      @mouparnadas7658 Рік тому +1

      By the way you are just too good in explaining.
      I learnt whole pandas from you, python I knew the basics but now the concept is crystal clear 😊

    • @maryransomgregory1186
      @maryransomgregory1186 Рік тому +1

      iloc[5:9,2:5]

    • @ayushigarg4370
      @ayushigarg4370 Рік тому +1

      Same issue that I have .. I am here also confused in last question

  • @abhayrathore298
    @abhayrathore298 Місяць тому +1

    Mam at 45.32 the answer must be print(so.loc square bracket 0,1,3

  • @nileshkr.santoshinxai3367
    @nileshkr.santoshinxai3367 Рік тому +9

    Ma'am please provide us one shot video of IP class12th according to 2022-23 syllabus we are in special need😨😨😧😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭

  • @ultrongaming7687
    @ultrongaming7687 Рік тому +2

    Wow, I mean like wow, this topic was so easy,I was so tensed about this,,THANK YOU SO MUCH🙏

  • @prabhjotsingh8893
    @prabhjotsingh8893 Рік тому +2

    Print(DF.iloc[3:5, 6:9:3]
    Please tell me answer wrong or right

    • @ritusarswat
      @ritusarswat Рік тому +2

      Ur ans is wrng dude...first we write row then column....
      Crct ans is print(DF.iloc[6:10,3:6])

    • @Harjasgames109
      @Harjasgames109 Місяць тому

      6:10

  • @lalitaskitchen6345
    @lalitaskitchen6345 Місяць тому

    Mam 47:44 it has to be iloc[:,2]

  • @AnilKumar-kb1fc
    @AnilKumar-kb1fc 7 місяців тому +2

    Yes, mam wooaoo what a class💗💗💗💗✨

  • @yashdansena7576
    @yashdansena7576 11 місяців тому +1

    Not joking but seriously mam . Your concept teaching techniques are just amazing, loved it , at starting I had fear about my IP but now with your teaching . I really getting a interst in it ....❤❤

  • @mrinvisible8011
    @mrinvisible8011 Місяць тому +3

    Guys Tum logo ne IP kyun li😅.....maine to galti se le li😭😭

  • @mechupnaarau8290
    @mechupnaarau8290 Рік тому +2

    Genuinely mam WOW WHAT CLASS ❤

  • @ankurchauhan9823
    @ankurchauhan9823 Рік тому +1

    Thanks ma'am...
    You make my concept crystal clear 🙏🙏

  • @ayushigarg4370
    @ayushigarg4370 Рік тому +1

    Mam kya hum loc Me bhi integer value de sakte hai because aapne poll k 2nd question me loc ke sath 1 use kiya h without using ' '

    • @TECHQueenLovejeetArora
      @TECHQueenLovejeetArora  Рік тому +2

      hm us time de skte hai, jab Dataframe me ya series me hmne label khud se de NAHI rakhe , tab loc[], Number wale index pe kaam kr jaega,
      but agar hmne Label dia hai to error aaegi,
      but hm ise MAIN LABEL access k lie hi use krte hai, and iloc[] ko number se.

    • @TECHQueenLovejeetArora
      @TECHQueenLovejeetArora  Рік тому +2

      agar fir bhi ab doubt ho to kal live hai 6pm
      unacademy.com/class/target-100-full-syllabus-class-12/9PEMX0MH
      join and i will tell you practically

  • @harnoordesignerhub2839
    @harnoordesignerhub2839 7 місяців тому

    I loved this session
    Love u mam
    Best ip teacher
    Thanks mam so much ❤

  • @pragatisatapathy1543
    @pragatisatapathy1543 Рік тому +1

    Wow!what a class😌❤️
    thank you mam✨

  • @DevashishLaunched
    @DevashishLaunched 7 місяців тому

    Ma'am question 16 ka ans wrong he i think usme inclusive likha he to 2:5 ana chaiye na

  • @archanashukla3633
    @archanashukla3633 9 місяців тому +2

    Superb session 🎉🎉

  • @honey1269
    @honey1269 Рік тому

    video khtam bhi nhi kri but aap itna acha padha rhe ho ki me pause krke comment krne aagya
    thank you so much

  • @rohitsethi5696
    @rohitsethi5696 11 місяців тому

    Can you make vidoes of alogrothims which are use in ML

  • @aaradhyu.2009
    @aaradhyu.2009 10 місяців тому +2

    Amazing class thank you mam for clearing this tomorrow is my exam

  • @PiPika-j3s
    @PiPika-j3s 9 місяців тому

    Maam shayad 17th q ka ans 4th wala tha apne 3rd bataya hai plz reply I'm confused

    • @ranjanasharma3357
      @ranjanasharma3357 9 місяців тому

      nhi bhai 3rd h .aap ek bar option me dekhe 4 th option galat h usme bs 2rows ko extract h but actual me 3 rows extract hogi. because [[iloc[3:6] h i.e 3,4 and 5....]]

  • @Daniel-dl3wq
    @Daniel-dl3wq 10 місяців тому +1

    question 17 what you did is wrong
    its iloc not loc

  • @nightowlnet6699
    @nightowlnet6699 7 місяців тому +1

    Wow 💀👀

  • @mkbhardwaj5070
    @mkbhardwaj5070 9 місяців тому

    Mai l like yours learning language 😅mja aa rha hai aap ki bate sunne me😅😅 Just fun 😊

  • @ankusandeep
    @ankusandeep Рік тому +1

    Wow! What a class

  • @rajdeepshah.7143
    @rajdeepshah.7143 Рік тому +1

    The concept of slicing is in class 12 mam 😂.

  • @kheteshchoudhary4770
    @kheteshchoudhary4770 Рік тому +2

    Two days left to exam 😂

  • @kshitijchaturvedi6164
    @kshitijchaturvedi6164 Рік тому

    Thankyou so much mam ✨🙏

  • @NehaSingh-li5xt
    @NehaSingh-li5xt Рік тому

    U r the best❤

  • @shubhvasist-abhasegaindia
    @shubhvasist-abhasegaindia 2 місяці тому

    ❤❤❤❤

  • @hindustanduniya8798
    @hindustanduniya8798 Рік тому +10

    Last question wrong hai

  • @bhaskershukla5561
    @bhaskershukla5561 11 місяців тому

    It was a very great session mam ❤❤

  • @kirank4634
    @kirank4634 Рік тому +1

    one suggestion: We don’t have to see u throughout the video. Instead u should hide ur face after intro and show the entire coding screen. gun luck

    • @honey1269
      @honey1269 Рік тому +1

      No, the hand gestures are important in some explanations.
      Mam should rather minimize the cam footage
      (give screen 3/4th space and 1/4th for her face)

  • @agamjotsingh027
    @agamjotsingh027 Рік тому

    🙏

  • @mohitdhawan2295
    @mohitdhawan2295 Рік тому

    👍👍👍👍👍👍