Skip to content

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


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