DEV Community

Discussion on: Pythonic way to aggregate or group elements in a list using dict.get and dict.setdefault

Collapse
 
waylonwalker profile image
Waylon Walker

I love the Counter object. I've had a rest API getting bogged down with pandas trying to count something and it took a few seconds for each response. Counter was just a few ms.

Collapse
 
mojemoron profile image
Micheal Ojemoron

Great!