Indexes in Pandas | Python Pandas Tutorials

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

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

  • @henriqueleijoto3100
    @henriqueleijoto3100 Год назад +49

    Your SQL tutorial project helped me in getting my first job! I have no words to thank you, I was struggling financially. Keep up the great work!!!

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

      you only learn sql

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

      Can you elaborate on what else you did?

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

      are you serious ? like how on earth could a SQL knowledge no matter how advanced land you a job ??????

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

      In countries like US, UK u can get it. In India it's not possible ​@@smktube5205

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

    I have always struggled with filtering in pandas because the way it works is so different from that in other languages which I am familiar with. Thank you for making this video which is an excellent summary of the possibilities that I can refer to when I need to filter my data.

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

    Just as a quick tip:
    to see the drop down options inside the parenthesis you have to use: "Shift" +"Tab" and slightly place the cursor in the bottob half of the parenthesis.

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

    df.xs('Australia', level='Country') met cross section kan je op land zoeken zonder continent te specifieren, geweldige serie, alles gevolgd tot nu toe. Je tempo is top, niet te snel niet te langszaam

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

    I just told my entire family that i learned how to do power bi because of you! Told them also to subscribe!!

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

    Another great video! I'm SO EXCITED that I've made it this far through your bootcamp series. Also, super happy that I finally get to learn about Pandas! I can't wait to finish this series and start on your Analyst Builder courses! :) As always, THANK YOU ALEX!!

    • @saladdinsaadeh4870
      @saladdinsaadeh4870 9 месяцев назад

      how did you find the analyst builder course? is it similar to this one or does it provide alot of new material?

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

    8:18 Do notice that Alex changes it quickly to ROWS and not COLUMNS, he shows the max rows of the table.

  • @gphanisrinivasful
    @gphanisrinivasful 2 месяца назад +1

    10:35 Actually sort_index() also has an 'inplace' parameter (similar to set_index()). You have to set inplace=True for the underlying integer index to change to the new order. Executing df.iloc[1] after setting inplace=True for sort_index() will give Angola as the output.

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

    Please, teach us how to clean data with pandas Great channel!!🤓

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

    Thank you for helping me understand iloc!

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

    Hi Alex - it would be amazing if you did a deep dive on the new Seaborn Objects API. I personally tried it and think it is the future of Python visualization. Amazing video as always!

  • @Niranga.555
    @Niranga.555 Год назад +1

    Thank you Alex...!

  • @adwaamohamed2674
    @adwaamohamed2674 27 дней назад

    very useful thank you

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

    Thank you!

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

    Hi Alex, I just came across your channel. Amazing. I just started doing RUclips myself in the last year or so. Was wondering if you have some tips on how you were able to build such a massive channel in just a few short years?

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

    Hi Alex, you mentioned that iloc didn't work in multi-index but as I practice it was not working since we didn't save the changes after sorting multi-indexes.

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

    Pretty cool.

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

    sir, the way you highlight your 'OOPs'. 😂

  • @ivanko-nebo
    @ivanko-nebo Год назад +2

    Hi, Alex!
    How do you open that info panel on 7:17?

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

      Press Shift+Tab after the opening bracket

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

    Hi Alex! what do you think about pandas 2.0?

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

    Hi Alex, can you make a video about Alteryx? I heard that they can do analytics automated

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

    Please make a video on Microsoft copilot(AI powered)
    It will replace data analysts?

  • @chenliu4506
    @chenliu4506 9 месяцев назад +1

    Can anyone help? Why after i sort_index, the dataframe wasn't group by Continent?

    • @rajatsrivastava2792
      @rajatsrivastava2792 9 месяцев назад

      same problem did you find solution

    • @MyAwfulUsername
      @MyAwfulUsername 9 месяцев назад +1

      We have to do df.sort_index(inplace = True) to sort our existing dataframe. Without the inplace=True it creates a new sorted dataframe that would need to be assigned to a new variable

    • @ridwanadeoye8400
      @ridwanadeoye8400 8 месяцев назад

      Its all about the order of setting the index...Oga Alex didn't show us that he'd switched the indexes from df.set_index(["Country","Continent"]) to df.set_index(["Continent","Country"])

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

      df = df.set_index(['Continent','Country'])
      df = df.sort_index(ascending=[False, True])
      print(df)
      i hope that can help u

  • @watergate-Shorts
    @watergate-Shorts 2 месяца назад

    why you used '#' with pd.set_option? isn't hashtag for comments?

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

    anyone else keep getting errors with inplace = True?

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

    Hi Alex, at 8:14 am getting this error AttributeError: module 'pandas' has no attribute 'set_options', what do i do?

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

      It's option not option"s"
      Try this:
      pd.set_option('display.max_rows', None)

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

    Watching your all videos are finished sir then I download certificate
    In that my certification why r u not signing sir that is valid certificate for me pls reply