Getting Started
Fundamentals
Internals
Reference
Concatenate nested lists into one long list.
>>> import dask.bag as db >>> b = db.from_sequence([[1], [2, 3]]) >>> list(b) [[1], [2, 3]]
>>> list(b.flatten()) [1, 2, 3]
previous
dask.bag.Bag.filter
next
dask.bag.Bag.fold