Session 19 - GroupBy Object in Pandas | Data Science Mentorship Program (DSMP) 2022-23

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

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

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

    Thanks sir for giving a best contant❤❤❤❤

  • @idkwhat337
    @idkwhat337 10 месяцев назад +4

    @14:46 genres.sum() is also including categorical columns. is there some update ?

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

    Guru jii..❤

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

    Awesome content on groupby function

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

    Maja aa gya Guru ji❤

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

    Great work

  • @Shaikh-Ji
    @Shaikh-Ji 2 года назад +2

    sir ji

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

    You are the best

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

    Groupby works with any data type.
    Categorical columns provide significant performance and memory advantages for groupby operations.

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

    Bhut badhiya bhai ji 🎉

  • @rohinisingh6916
    @rohinisingh6916 7 месяцев назад

    Thank you sir 😊

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

    31:20
    i dont think nitish, you cleared all concepts and the answer would be :
    result = imdb.groupby('Genre')[['Series_Title', 'IMDB_Rating']].sum().sort_values(by='IMDB_Rating',ascending=False)
    this give Series_title concatenated to avoid i did this:
    imdb[imdb['Genre'].isin(result.index)][['Genre','Series_Title', 'IMDB_Rating']].head()
    this might bit complicated: isin(result.index): This checks whether each element in the "Genre" column is present in the index

    • @code-with-me-2002
      @code-with-me-2002 8 месяцев назад +1

      pass numeric_only=True inside sum() method

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

      df = movies.groupby(['Genre'])['IMDB_Rating'].max().reset_index()
      result = movies.merge(df, on=['Genre', 'IMDB_Rating'], how='inner')[['Genre','Series_Title','IMDB_Rating']].sort_values(by = 'Genre')

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

    22:53 If you can see closely to your sorted data, you can see the sort value methods is not working, hence this are not top genres

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

      If you can see closely to your data for e.g. 3.540997e+10 its e raise to 10 i.e. 3.540997×10 ^10 and other values from 5th rank are e+09 that's why they are smaller compared to e+10.

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

    thank you sir

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

    THANKS SIR

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

    18:44 Hi nitish correct me if im wrong here.. film 300 director is Zack Snyder or Abhishek Chubey, i mean check whole row its completly irrelevant. i think you should revise it. ⚠⚠

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

      You're interpreting it wrong. The result is showing according specific Genres which is the minimum value in each column.

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

    great

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

    'DataFrame' object has no attribute 'append'. How can I do this?

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

      df=pd.DataFrame(columns=imdb.columns)
      for group,data in genre:
      max_rating_data = data[data['IMDB_Rating'] == data['IMDB_Rating'].max()]
      df = pd.concat([df, max_rating_data])

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

    Plz provide me solutiion of this seesion task plz

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

    Can i purchase it now.???

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

    hello, good morning sir and campusx team, I want to ask that if I am not a paid student , then can I access that python practice question set and interview question set ? if not , then what if I paid for only on youtube not on campusx website, in this case can I get that question set ?

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

    where is the csv file ??? please tell me

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

    when the new batch will starts....

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

      Abbey yeh wala toh khtm hone de

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

    Sir I want to purchase the course

  • @kashifchaudhary680
    @kashifchaudhary680 7 месяцев назад

    Amazing Session sir, Im from pakistan and im watching your videos , can i buy your course from pakistan?

    • @Ahmad-cdx
      @Ahmad-cdx 4 месяца назад

      Payment issue ata bro, try kia ni hota 🤧

  • @KhushbuSharma-lx5yn
    @KhushbuSharma-lx5yn Год назад

    imdb.groupby('Genre').max().sort_values(["IMDB_Rating"], ascending = False) i used this query to find highest rated movies of each genre so is it right or not

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

    Thank you Sir

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

    thank you sir