Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ shape
Method
shape
dask/array/_array_expr/_expr.py:28–29 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
26
27
@cached_property
28
def
shape(self) -> tuple[T_IntOrNaN, ...]:
29
return
tuple(cached_cumsum(c, initial_zero=True)[-1]
for
c in self.chunks)
30
31
@cached_property
32
def
ndim(self):
Callers
nothing calls this directly
Calls
1
cached_cumsum
Function · 0.90
Tested by
no test coverage detected