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

Method to_bag

dask/dataframe/dask_expr/_collection.py:2523–2527  ·  view source on GitHub ↗

Create a Dask Bag from a Series

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

Source from the content-addressed store, hash-verified

2521 return arr._chunks
2522
2523 def to_bag(self, index=False, format="tuple"):
2524 """Create a Dask Bag from a Series"""
2525 from dask.dataframe.dask_expr.io.bag import to_bag
2526
2527 return to_bag(self, index, format=format)
2528
2529 def to_hdf(self, path_or_buf, key, mode="a", append=False, **kwargs):
2530 """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