Python Basics Itertools Groupby Method Pt 2

preview_player
Показать описание
Learn how to use the groupby method from itertools for python programming. Groupby returns an iterator of tuples of a key and an iterator of the group.

prerequisite:

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

great explanation, this video helped alot

pdkqjyr
Автор

Nice one... I can see this being pretty useful, then again, itertools in itself is very useful.

marcd
Автор

Why len(list(letter[1]) as value instead of len(list(letter[0])) ??

prvn
Автор

collections.Counter does the same, but easier

olegsuprun