Pandas Wrangling Sprint How to Reshape Dataframes | Pivot, Stack, Melt and More (Misra Turp). Code: https://github.com/misraturp/Pandas-dataframe-reshaping Watch: https://www.youtube.com/watch?v=M3oB2urOHXY (12:49)
Notes
pivot / pivot_table / stack / unstack / melt / groupby / crosstab / explode. Focus for the outcome: merge + pivot + melt on a messy frame.
Key moments
0:00 Intro; 0:42 Pivot; 2:12 pivot_table; 4:24 Stack; 5:45 Unstack; 6:22 Melt; 7:53 Groupby; 9:22 Crosstab; 10:36 Explode.