Python Tutorials - Itertools Playlist (group by / groupby)

preview_player
Показать описание
#Pythontutorials
#Pythonbeginnertutorials

In this video we will continue our exploration of the Python Itertools module.
We are going to tackle Itertools Groupby which is most noted by its Pandas counterpart.
You can find the notebook here in my Python stuff repository (or can be found eventually):

Рекомендации по теме
Комментарии
Автор

Wow this is the first youtube video that wasn't a complete waist of time. Every other vlogger on here just reads off a text based tutorial on some website, and they only do one example and they are usually so simple that there was no point in even watching. You go way above and beyond everyone else. Muy fantastico!! Thank you

cliftonarden
Автор

Thank you so much man, u helped me get through !

chandrakant
Автор

Sir you are an awesome soul and truly an inspiration 🙏❤️

tir__
Автор

It seems dumb that it's required to sort before grouping. Good video!

amir
Автор

Sir, can you make a video on how to run a function on these groups independent of each other.

aashikasharma
Автор

There's no need to write `random.sample(list(range(1, 50)), k=3)` when you can write `random.sample(range(1, 50), k=3)`.
Calling the `list()` function is redundant there, and I would also sample more than 3 integers to better demonstrate how this works.
Lastly, if you're explicitly using `key=` in your function calls (as you should), then be consistent and also use it when calling `groupby()` in your grouper function.
Overall excellent video. Thanks.

valorien