No video

Flipping Data with Pandas: Stack & Unstack

  Рет қаралды 2,644

Python and Pandas with Reuven Lerner

Python and Pandas with Reuven Lerner

Күн бұрын

Пікірлер: 18
@saurabhchoudhary4572
@saurabhchoudhary4572 4 ай бұрын
very nice, exact attention this topic needs 10/10
@ReuvenLerner
@ReuvenLerner 4 ай бұрын
Glad it helped!
@lindyhopwithliz
@lindyhopwithliz Жыл бұрын
You’re great! Lots of vids out there about how to do stuff. Not many about why / in what situations you do the stuff. Thank you!!!
@ReuvenLerner
@ReuvenLerner Жыл бұрын
I'm delighted to hear you found it helpful!
@hugoguay4993
@hugoguay4993 3 ай бұрын
Thank you so much it greatly help for me and my study of Data science
@ReuvenLerner
@ReuvenLerner 3 ай бұрын
I'm delighted to hear it!
@harshitbhatia5305
@harshitbhatia5305 8 ай бұрын
very nice and infomative. Now I m prepared for my exam :)
@ReuvenLerner
@ReuvenLerner 8 ай бұрын
Ha! Good luck!
@PrateekTrivedi6
@PrateekTrivedi6 3 ай бұрын
Thanks for such amazing videos. You making learning simple by explaining the functionality and the practical use-cases where the value for that functionality lies. I have a doubt - @6:02 - Shouldn't level be 0 when we are unstacking on the basis of passenger count as this is only row label present ?
@ReuvenLerner
@ReuvenLerner 3 ай бұрын
Thanks for the kind words! Notice that in many (not all) of the cases in this video, I'm not actually modifying our data frame g. Rather, I'm running a method (e.g., unstack), and getting back a new data frame. This leaves g unchanged, which means that if I first run g.unstack(level=1) and then run g.unstack(level=0), I'm unstacking on the same data frame each time. It's not that after unstacking on level=1 we're left with only one level in the multi-index. Does that make sense?
@PrateekTrivedi6
@PrateekTrivedi6 3 ай бұрын
@@ReuvenLerner Yeah I got it now :) that was super quick response, thanks!!
@bojanmilinic
@bojanmilinic Жыл бұрын
Huge thanks
@elu1
@elu1 Жыл бұрын
Nice one! Thanks for the teaching👋
@ReuvenLerner
@ReuvenLerner Жыл бұрын
My pleasure; glad you enjoyed it!
@Lnd2345
@Lnd2345 Жыл бұрын
Super clear, thanks
@ReuvenLerner
@ReuvenLerner Жыл бұрын
Great !
@SanjeevKumar-dr6qj
@SanjeevKumar-dr6qj Жыл бұрын
Please make more videos
@ReuvenLerner
@ReuvenLerner Жыл бұрын
More of them coming soon!
Using | in Pandas? Consider the "isin" method instead
6:01
Python and Pandas with Reuven Lerner
Рет қаралды 921
Retrieving from a multi-index in Pandas
11:58
Python and Pandas with Reuven Lerner
Рет қаралды 3,5 М.
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 37 МЛН
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 17 МЛН
Logo Matching Challenge with Alfredo Larin Family! 👍
00:36
BigSchool
Рет қаралды 7 МЛН
Boolean indexing in Pandas made simple
8:23
Python and Pandas with Reuven Lerner
Рет қаралды 1,8 М.
Pandas MultiIndex Tutorial and Best Practices
30:15
Chicago Python Users Group
Рет қаралды 10 М.
How to Reshape Dataframes | Pivot, Stack, Melt and More
12:49
Mısra Turp
Рет қаралды 24 М.
Stack, Unstack, Melt, Pivot - Pandas
10:23
Data Talks
Рет қаралды 39 М.
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 266 М.
Basic grouping in pandas
8:09
Python and Pandas with Reuven Lerner
Рет қаралды 3,5 М.
Turn numbers into categories with the Pandas "cut" method
9:44
Python and Pandas with Reuven Lerner
Рет қаралды 4,7 М.
How to use the Pandas GroupBy function | Pandas tutorial
19:03
Mısra Turp
Рет қаралды 29 М.
*args and **kwargs - what are they, and how are they different?
10:42
Python and Pandas with Reuven Lerner
Рет қаралды 1,3 М.
The Biggest Issues I've Faced Web Scraping (and how to fix them)
15:03
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 37 МЛН