dask.bag.concat

dask.bag.concat(bags)[source]

Concatenate many bags together, unioning all elements.

>>> import dask.bag as db
>>> a = db.from_sequence([1, 2, 3])
>>> b = db.from_sequence([4, 5, 6])
>>> c = db.concat([a, b])
>>> list(c)
[1, 2, 3, 4, 5, 6]