Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ __array__
Method
__array__
dask/dataframe/dask_expr/_collection.py:494–495 ·
view source on GitHub ↗
(self, dtype=None, **kwargs)
Source
from the content-addressed store, hash-verified
492
)
493
494
def
__array__(self, dtype=None, **kwargs):
495
return
np.array(self.compute())
496
497
def
persist(self, fuse=True, **kwargs):
498
out = self.optimize(fuse=fuse)
Callers
nothing calls this directly
Calls
1
compute
Method · 0.45
Tested by
no test coverage detected