dask.bag.Bag.any

dask.bag.Bag.any

Bag.any(split_every=None)[source]

Are any of the elements truthy?

Examples

>>> import dask.bag as db
>>> bool_bag = db.from_sequence([True, True, False])
>>> bool_bag.any().compute()
True