How to use groupby() to group categories in a pandas DataFrame
In this video we go over how to group categories of data using the grouby() operation in pandas. We use the popular Titanic data set commonly used when learning data science. We look at how to group on a single criteria on a single column. Then we move on how to group with multiple columns, then multiple groups, multiple groups and multiple columns, and how to look at multiple groupby functions in a single command. As a bonus, I'll show you a trick on how to minimize the number of groups which can improve the interpretability of you data. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ $15 off Annual Dataquest subscription app.dataquest.io/referral-signup/qybqz3r8/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Merch: https://bit.ly/PythonAndDataMerch ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Did you find this video helpful? Consider subscribing for weekly tips, tricks, and tutorials. / @chartexplorers Link to Data https://bit.ly/3kGDuKx 0:00 Intro 0:18 Data Overview 1:08 Groupby single col & function 1:55 Multiple cols grouped 2:40 Multiple grouping cols 3:20 Multiple functions flat df 3:43 Multiple functions 4:35 Quick tip

Pandas Transform Method: From Beginner to PRO in One Video! 🎓
![070- Day 19: Pandas part 4: Group By in Pandas مهم[Complete ML Track in Arabic] #DataScience #ML](https://i.ytimg.com/vi/XqtqKfrr1Zk/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLC2auRdg4PMWkWVnpBZBHja71eFhA)
070- Day 19: Pandas part 4: Group By in Pandas مهم[Complete ML Track in Arabic] #DataScience #ML

Five Pandas "groupby" mistakes to avoid

How to filter a pandas DataFrame | 6 HELPFUL METHODS

Group By and Aggregate Functions in Pandas | Python Pandas Tutorials

How do I apply a function to a pandas Series or DataFrame?

How do I select multiple rows and columns from a pandas DataFrame?

How to Reshape Dataframes | Pivot, Stack, Melt and More

The Complete Guide to Python Pandas Groupby

Python in Excel: 1-minute Hacks You Can Use Today

How to use the Pandas GroupBy function | Pandas tutorial

How to combine DataFrames in Pandas | Merge, Join, Concat, & Append

🧹Watch me CLEAN DATA in Minutes with Python (+10 Tips for Complex Datasets)

Pivot tables with Pandas

Loop / Iterate over pandas DataFrame (2020)

Daniel Chen: Cleaning and Tidying Data in Pandas | PyData DC 2018

4 Pandas Functions That I Wish I Knew Earlier

Handling Missing Values in Pandas Dataframe | GeeksforGeeks

How do I use the MultiIndex in pandas?

