Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ __len__
Method
__len__
dask/dataframe/dask_expr/_collection.py:429–430 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
427
return
new_collection(expr.ClearDivisions(self))
428
429
def
__len__(self):
430
return
new_collection(Len(self)).compute()
431
432
@property
433
def
nbytes(self):
Callers
nothing calls this directly
Calls
3
new_collection
Function · 0.90
Len
Class · 0.90
compute
Method · 0.45
Tested by
no test coverage detected