When working with datasets you will need to change the shape and the perspective of the data. This is done sometimes for analysis purposes and sometimes just to explore the data a bit better. In this video, we learn 8 ways to change the shape of the dataframe we are working with to gain a new perspective on it. The functions we learn are:
1. pivot
2. pivot_table
3. Stack
4. Unstack
5. Melt
6. Groupby
7. Crosstab
8. Explode
Find the code here: https://github.com/misraturp/Pandas-d...
RESOURCES:
🏃♀️ Data Science Kick-starter mini-course: https://www.misraturp.com/courses/dat...
🐼 Pandas cheat sheet: https://misraturp.gumroad.com/l/pandascs
📥 Streamlit template: https://misraturp.gumroad.com/l/stemp
📝 NNs hyperparameters cheat sheet: https://www.misraturp.com/nn-hyperpar...
📙 Fundamentals of Deep Learning in 25 pages: https://misraturp.gumroad.com/l/fdl
COURSES:
👩💻 Hands-on Data Science: Complete your first portfolio project: https://www.misraturp.com/hods
🌎 Website - https://misraturp.com/
🐥 Twitter - / misraturp
00:00 Introduction
00:42 Pivot
02:12 Pivot_table
04:24 Stack
05:45 Unstack
06:22 Melt
07:53 Groupby
09:22 Crosstab
10:36 Explode
12:03 Download the Pandas Cheat Sheet!
Watch video How to Reshape Dataframes | Pivot, Stack, Melt and More online without registration, duration hours minute second in high quality. This video was added by user Mısra Turp 18 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 25,641 once and liked it 888 people.