Good video Martín. I didn't know about the "as_index" argument in groupby 👌
@martinbel Жыл бұрын
Glad you enjoyed it and found something useful!
@realninja357 Жыл бұрын
I was advised to learn the melt function also, is there any rules we should follow to know when to use it?
@martinbel Жыл бұрын
When you want to reshape data from wide to long format.
@realninja357 Жыл бұрын
how does grouping by multiple groups work?
@martinbel Жыл бұрын
Just pass a list to the groupby call
@realninja357 Жыл бұрын
Interesting, you use the methid chaining syntax at the end for the mat variable. Where did you learn this practice? it is rare and I can discern a proficient coder by the use of this. are you US based?
@martinbel Жыл бұрын
The method chaining idea is inspired on the R dplyr package. Matt Harrison made it popular in pandas. I think it makes things easier in some cases but has it's downsides. I live in Argentina.