Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ npartitions
Method
npartitions
dask/dataframe/dask_expr/_shuffle.py:802–803 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
800
801
@property
802
def
npartitions(self):
803
return
self.operand(
"npartitions"
) or len(self._divisions()) - 1
804
805
806
class
SetIndex(BaseSetIndexSortValues):
Callers
nothing calls this directly
Calls
2
_divisions
Method · 0.95
operand
Method · 0.80
Tested by
no test coverage detected