Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ npartitions
Method
npartitions
dask/dataframe/dask_expr/_expr.py:442–446 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
440
441
@property
442
def
npartitions(self):
443
if
"npartitions"
in self._parameters:
444
return
self.operand(
"npartitions"
)
445
else
:
446
return
len(self.divisions) - 1
447
448
@property
449
def
columns(self) -> list:
Callers
nothing calls this directly
Calls
1
operand
Method · 0.95
Tested by
no test coverage detected