MCPcopy
hub / github.com/dask/dask / new_collection

Function new_collection

dask/_collections.py:6–10  ·  view source on GitHub ↗

Create a new collection from an expr

(expr)

Source from the content-addressed store, hash-verified

4
5
6def new_collection(expr):
7 """Create a new collection from an expr"""
8 meta = expr._meta
9 expr._name # Ensure backend is imported
10 return get_collection_type(meta)(expr)

Callers 15

_single_aggMethod · 0.90
_single_aggMethod · 0.90
get_groupMethod · 0.90
_cum_aggMethod · 0.90
varMethod · 0.90
stdMethod · 0.90
aggregateMethod · 0.90
applyMethod · 0.90
_transform_like_opMethod · 0.90
medianMethod · 0.90
nuniqueMethod · 0.90
_compute_mem_usagesFunction · 0.90

Calls

no outgoing calls

Tested by 3

test_lengthsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…