MCPcopy Create free account
hub / github.com/dask/dask / npartitions

Method npartitions

dask/dataframe/dask_expr/_expr.py:2649–2650  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2647
2648 @functools.cached_property
2649 def npartitions(self):
2650 return len(self._divisions()) - 1
2651
2652 def _divisions(self):
2653 return self.frame.divisions[: len(self._partitions) + 1]

Callers

nothing calls this directly

Calls 1

_divisionsMethod · 0.95

Tested by

no test coverage detected