How to use the Pandas GroupBy function | Pandas tutorial

  Рет қаралды 31,430

Mısra Turp

Mısra Turp

Күн бұрын

Пікірлер: 73
@misraturp
@misraturp Жыл бұрын
👉 All you need to know about Pandas in one place! Download my Pandas Cheat Sheet (free) misraturp.gumroad.com/l/pandascs
@aayushk.c.2081
@aayushk.c.2081 Жыл бұрын
Wow! I haven't even finished watching your entire video, and I'm already getting goosebumps from the wealth of knowledge it contains. I will definitely be checking out all of your videos on pandas.
@misraturp
@misraturp Жыл бұрын
Wow, thank you! Glad you enjoyed it!
@suhaibmudassir3272
@suhaibmudassir3272 Жыл бұрын
I found someone successfully who actually I can understand ❤
@message59
@message59 11 ай бұрын
your videos saved me 😅 so I just wanted to thank you for the effort and say that you have great way of explaining things :)
@davideschreiber2821
@davideschreiber2821 Жыл бұрын
Very nice. So thorough that I began to worry it would get confusing, but by the end I think I had a good grasp on the topic. Thanks!
@himanshupandey9902
@himanshupandey9902 2 жыл бұрын
Hello misra, Your really made pandas library so easy to learn. I always wait to get your notification because you simplify everything.
@misraturp
@misraturp 2 жыл бұрын
Thank you Himanshu, that’s so nice to hear :)
@MohamedKhasim16
@MohamedKhasim16 4 ай бұрын
Really learned more from this video and exceptionally clear, truly a valuable resource! Thank you and keep up the amazing work! 🙌🏼
@invictus327
@invictus327 2 жыл бұрын
Misra, your ability to convey what might otherwise be impenetrable concepts is really very good. I know it's a lot of work and effort/time but I can see you making a successful additional income stream out of Udemy or similar. I've seen a lot of this kind of education in the last couple of years and you really have the perfect blend of articulation and authenticity. Keep up the good work. ✌😉
@misraturp
@misraturp 2 жыл бұрын
Thank you Even Horizon! That's amazing to hear. :)
@bay-bicerdover
@bay-bicerdover Жыл бұрын
Keep up the good work!
@islamalmsarrhad2152
@islamalmsarrhad2152 2 жыл бұрын
Actually I'm really happy, finding talented people to learn from and following their footprints makes my happy and comfortable. Thank you so much and keep going>>>>
@misraturp
@misraturp 2 жыл бұрын
Thank you Islam!
@programmingchannel9739
@programmingchannel9739 Жыл бұрын
I love all of your work. You save me a lot of time reading, searching, and figuring out what to do.
@misraturp
@misraturp Жыл бұрын
That's amazing to hear, thank you!
@catalindemergian2973
@catalindemergian2973 Жыл бұрын
this pandas series was great! thank you
@misraturp
@misraturp Жыл бұрын
Awesome to hear, you're welcome!
@FelipeCampelo0
@FelipeCampelo0 7 ай бұрын
This makes clear what the kaggle intro to pandas could not.
@ayanchoubisa2462
@ayanchoubisa2462 2 жыл бұрын
Your method of explaining is excellent. Greetings, you'll grow a lot.
@misraturp
@misraturp 2 жыл бұрын
Thank you very much!
@khanhhoanggiabao6240
@khanhhoanggiabao6240 4 ай бұрын
Helpful video. Thank you
@Latif127
@Latif127 Жыл бұрын
Very informative, thank you.
@inkdfist3702
@inkdfist3702 Жыл бұрын
Great explanation, just what I was looking for, thank you so much!
@misraturp
@misraturp Жыл бұрын
Glad it was helpful!
@aldalail
@aldalail Жыл бұрын
That's been helpful, Thank you !!
@behradio
@behradio 2 жыл бұрын
Amazing as always. These types of videos can be so helpful. I improved the performance of my code from your latest videos; thanks a lot.
@misraturp
@misraturp 2 жыл бұрын
That's great Behrad! Thank you!
@MrMH0
@MrMH0 2 жыл бұрын
Thank you very much for the explanation of the Grouper function, I think that can help me a lot. :) Greetings from Germany.
@misraturp
@misraturp 2 жыл бұрын
Glad it was helpful!
@bay-bicerdover
@bay-bicerdover Жыл бұрын
hows weather in germany?
@j3553hh
@j3553hh 11 ай бұрын
Nice angle on this. Thank you.
@szw21
@szw21 9 ай бұрын
Hi Misra! You explain everything with such a simple language, thank you ❤ But as a newbie i don't fully get the Grouper. When you put freq=2W why it didn't add 9th jan in the first group? If we open the calendar, 1st jan in 2000 was a saturday, every date in dataset is sundays. First two calendar weeks included 2nd and 9th if jan, first 14 days include the same, so i don't get how Grouper put the separation 😥
@anurajms
@anurajms Жыл бұрын
thank you. video is really useful
@swapnilpalsapure9781
@swapnilpalsapure9781 8 ай бұрын
Great Teaching
@MaxMustermann-on2gd
@MaxMustermann-on2gd 2 жыл бұрын
Loved the scuba diving hint 🤣 are you a diver? Great explanation!
@misraturp
@misraturp 2 жыл бұрын
Heheh thanks! Yes, I'm a diver :)
@CEOLISSS
@CEOLISSS 8 ай бұрын
How do you know when to use .agg() and .apply() ? Is .agg() used for built in functions such as max, min, count. While .apply() is more for lambda, or custom functions?
@victoriabraimoh8994
@victoriabraimoh8994 Жыл бұрын
please my dataset has 34 genders, how do I group them into three main genders i.e male, female and others in pandas
@Ayoubased
@Ayoubased 2 жыл бұрын
love these videos. Are you thinking of making a video about a project from the beginning to end? Including pandas and maybe other softwares you use
@misraturp
@misraturp 2 жыл бұрын
Hey Ayoub, I have an online course where I teach how to do a project from beginning to end. Here it is: www.soyouwanttobeadatascientist.com/hods
@harysigit8887
@harysigit8887 4 ай бұрын
I cant do it data.groupby("Agency").mean() syntax said error
@pilarbaldominos2505
@pilarbaldominos2505 2 жыл бұрын
Fantastic! You helped me a lot!
@misraturp
@misraturp Жыл бұрын
Awesome!!
@Sabre5106
@Sabre5106 8 ай бұрын
I'm getting a TypeError when I copy this code: TypeError: agg function failed [how->mean,dtype->object] I can't seem to find an answer in the documentation or any videos :(
@rushikeshn9715
@rushikeshn9715 2 жыл бұрын
Very Helpful Mam 🙏🙏🙏
@misraturp
@misraturp 2 жыл бұрын
You’re welcome :)
@krishj8011
@krishj8011 Жыл бұрын
great tutorial...
@chastippett
@chastippett Жыл бұрын
Hi Misra: what's the difference between Pivot and Groupby? And/Or ... does Groupby always have an aggregation function or some apply function to a column, or is that Not the case?
@bay-bicerdover
@bay-bicerdover Жыл бұрын
pandas.DataFrame.pivot
@kennethstephani692
@kennethstephani692 Жыл бұрын
Great video!
@misraturp
@misraturp Жыл бұрын
Glad you enjoyed it!
@wilsontower
@wilsontower Жыл бұрын
Very good!
@ebierealexandria
@ebierealexandria 2 жыл бұрын
Thanks, Misra Turp for the tutorial. Do you have any courses on Data Analysis?
@misraturp
@misraturp 2 жыл бұрын
Not directly on data analysis but I have a course on building a data science project. You can see my courses here: www.soyouwanttobeadatascientist.com/roadmap
@bay-bicerdover
@bay-bicerdover Жыл бұрын
​@@misraturp link çalışmıyor
@gossipgirl9508
@gossipgirl9508 2 жыл бұрын
thanks! this video was great
@misraturp
@misraturp 2 жыл бұрын
You're very welcome :)
@ytcdi
@ytcdi 2 жыл бұрын
Great1 You could also explore pandasql, a great package to also do 'group by' directly in sql, for python.
@bay-bicerdover
@bay-bicerdover Жыл бұрын
nosql😎
@bottonline4544
@bottonline4544 Жыл бұрын
Hello, I am using Pandas V 2.1.1 in Python 3.15 and when running The following code: data.groupby('Agency').mean() It gives me the following error: TypeError: “agg function failed [how->mean,dtype->object]” But when I run it with an older version of pandas eg .1.2.1 and Python 3.9.7 it runs without problems
@harysigit8887
@harysigit8887 4 ай бұрын
Your problem is a same with me, what must to do brother ?
@ChandrashekarCN
@ChandrashekarCN 2 жыл бұрын
you miss one pandas dataframe.style one more video for pandas playlist
@misraturp
@misraturp Жыл бұрын
Thank you!
@marcelocampos665
@marcelocampos665 Жыл бұрын
Thank you!
@abdulkadirguven1173
@abdulkadirguven1173 Жыл бұрын
Thank you
@FRANKWHITE1996
@FRANKWHITE1996 2 жыл бұрын
Thanks for sharing
@misraturp
@misraturp Жыл бұрын
Thanks for watching!
@sanooosai
@sanooosai 2 жыл бұрын
rock star
@lord_voldemort44
@lord_voldemort44 7 ай бұрын
where is ur accent from pls
@chikwaz4500
@chikwaz4500 Ай бұрын
Great videos and content. I have two issues (i) Please include MARKDOWNs or Text instructions on what you are doing with the coding. This is good for beginners and also makes it easy to remember. (ii) Secondly, your KZbin channel name is not very attractive I advise you RENAME it to something that reflect what you do. Otherwise your teaching style is very GOOD. Hope this helps
Pandas Functions: Apply vs. Map vs. Applymap
11:53
Mısra Turp
Рет қаралды 27 М.
Pandas Groupby | How to Use Pandas Groupby
22:30
Automate with Rakesh
Рет қаралды 1,6 М.
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 8 МЛН
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,5 МЛН
Using Data Visualization to Identify Data Problems
12:27
Mısra Turp
Рет қаралды 2,9 М.
When should I use a "groupby" in pandas?
8:25
Data School
Рет қаралды 246 М.
Pandas Functions: Three Ways to Use the Apply Function
12:11
Mısra Turp
Рет қаралды 20 М.
Learn Pandas in 20 minutes!
23:40
Mısra Turp
Рет қаралды 22 М.
Group By and Aggregate Functions in Pandas | Python Pandas Tutorials
11:05
Pandas for Data Science in 20 Minutes | Python Crash Course
23:06
Nicholas Renotte
Рет қаралды 137 М.
Pandas functions: merge vs. join vs. concat
16:15
Mısra Turp
Рет қаралды 27 М.
How to Reshape Dataframes | Pivot, Stack, Melt and More
12:49
Mısra Turp
Рет қаралды 26 М.
The Complete Guide to Python Pandas Groupby
44:17
Ryan & Matt Data Science
Рет қаралды 10 М.
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 8 МЛН