Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ num_rows
Method
num_rows
dask/array/_array_expr/_creation.py:30–31 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
28
29
@functools.cached_property
30
def
num_rows(self):
31
return
int(max(np.ceil((self.stop - self.start) / self.step), 0))
32
33
@functools.cached_property
34
def
dtype(self):
Callers
nothing calls this directly
Calls
1
max
Function · 0.85
Tested by
no test coverage detected