Python Pandas For Your Grandpa - 4.5 DataFrame Reshaping

Опубликовано: 01 Февраль 2021
на канале: GormAnalysis
569
13

In this video we'll see how to use the functions pivot(), pivot_table(), melt(), stack(), and unstack() to restructure the shape of a DataFrame.

0:00 - intro / setup
0:31 - pivot() / long to wide format
1:13 - pivot_table() / pivoting with aggregation
3:24 - melt() / wide to long format
4:40 - stack()
6:32 - unstack()

-- Code -----------------------
https://www.practiceprobs.com/problem...

-- Vids & Playlists ---------------------------------
Google Colab -    • Introduction to Google Colab  
NumPy -    • Python NumPy For Your Grandma  
Pandas -    • Python Pandas For Your Grandpa  
Neural Networks -    • Neural Networks For Your Dog  

-- Subscribe To Mailing List ---------------------------------
https://eepurl.com/hC1Pmj

-- Song ---------------------------------
Summer Fields by DKH

-- Support -----------------------
https://merchonate.com/gormanalysis