Getting Started
How to Use
Internals
Reference
Count number of occurrences of each distinct element.
>>> import dask.bag as db >>> b = db.from_sequence(['Alice', 'Bob', 'Alice']) >>> dict(b.frequencies()) {'Alice': 2, 'Bob', 1}
previous
dask.bag.Bag.foldby
next
dask.bag.Bag.groupby