Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
6
def
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
_rebuild_composite_collection
Function · 0.90
_single_agg
Method · 0.90
_single_agg
Method · 0.90
get_group
Method · 0.90
_cum_agg
Method · 0.90
var
Method · 0.90
std
Method · 0.90
aggregate
Method · 0.90
apply
Method · 0.90
_transform_like_op
Method · 0.90
median
Method · 0.90
nunique
Method · 0.90
Calls
no outgoing calls
Tested by
3
test_sort_values_conflicting_ascending_head_tail
Function · 0.68
test_set_index_head_nlargest
Function · 0.68
test_lengths
Function · 0.68