mahmoud / glom

☄️ Python's nested data operator (and CLI), for all your declarative restructuring needs. Got data? Glom it! ☄️
https://glom.readthedocs.io
Other
1.88k stars 61 forks source link

glom.grouping is super useful actually #245

Open kurtbrose opened 1 year ago

kurtbrose commented 1 year ago

I've been using it like crazy, particularly this kind of construct:

Group({T[0]: [T[1]]})

To collect items, kind of a super-bucketize.

My thoughts on making it official:

kurtbrose commented 1 year ago

This basically turns group into "super bucketize", or maybe, "higher dimensional bucketize"