MCPcopy Create free account
hub / github.com/dask/dask / to_bag

Method to_bag

dask/dataframe/dask_expr/_collection.py:2489–2493  ·  view source on GitHub ↗

Create a Dask Bag from a Series

(self, index=False, format="tuple")

Source from the content-addressed store, hash-verified

2487 return arr._chunks
2488
2489 def to_bag(self, index=False, format="tuple"):
2490 """Create a Dask Bag from a Series"""
2491 from dask.dataframe.dask_expr.io.bag import to_bag
2492
2493 return to_bag(self, index, format=format)
2494
2495 def to_hdf(self, path_or_buf, key, mode="a", append=False, **kwargs):
2496 """See dd.to_hdf docstring for more information"""

Callers 3

test_to_bagFunction · 0.80
test_to_bagFunction · 0.80
test_to_bag_frameFunction · 0.80

Calls 1

to_bagFunction · 0.90

Tested by 3

test_to_bagFunction · 0.64
test_to_bagFunction · 0.64
test_to_bag_frameFunction · 0.64