collections.chunk Split a list into consecutive batches of at most n items, in order; the last batch may be short. chunk in Rust collectionschunkbatchsplit 1.0.0py rs ts11 tests
collections.group-by-key Group records by the value at one key, preserving input order inside each group. group_by_key in Rust collectionsgroupgroup-bybucket 1.0.0py rs ts18 tests