Skip to content
loading...

re: Pythonic way to aggregate or group elements in a list using dict.get and dict.setdefault VIEW POST

FULL DISCUSSION
 

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.

 
code of conduct - report abuse