Indexes in Pandas | Python Pandas Tutorials

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

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

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

    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 6 месяцев назад

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

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

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

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

    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 Год назад

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

  • @leucam375
    @leucam375 8 месяцев назад +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.

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

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

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

    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.

  • @gphanisrinivasful
    @gphanisrinivasful 4 месяца назад +3

    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.

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

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

    Thank you for helping me understand iloc!

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

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

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

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

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

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

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

    very useful thank you

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

    Thank you Alex...!

  • @UlyssesStudios
    @UlyssesStudios 10 дней назад +1

    Great tutorial. Thank you. But I didn't understand (neither did ChatGPT) the line of code "pd.set_option('display.max.columns', 235)". If there are only 15 columns, why would I set the max to 235?

    • @adamsierakowski3289
      @adamsierakowski3289 День назад

      It's 'display.max.rows'. He cut the video so it didn't come out as so evident

  • @muhammadsaadmalik9059
    @muhammadsaadmalik9059 11 месяцев назад +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.

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

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

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

      Press Shift+Tab after the opening bracket

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

    Thank you!

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

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

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

    Hi Alex! what do you think about pandas 2.0?

  • @kby-64-b
    @kby-64-b Год назад

    Pretty cool.

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

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

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

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

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

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

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

      same problem did you find solution

    • @MyAwfulUsername
      @MyAwfulUsername Год назад +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 11 месяцев назад

      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 8 месяцев назад

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

  • @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 4 месяца назад

      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

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

    anyone else keep getting errors with inplace = True?