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

Method npartitions

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

Source from the content-addressed store, hash-verified

441
442 @property
443 def npartitions(self):
444 if "npartitions" in self._parameters:
445 return self.operand("npartitions")
446 else:
447 return len(self.divisions) - 1
448
449 @property
450 def columns(self) -> list:

Callers

nothing calls this directly

Calls 1

operandMethod · 0.95

Tested by

no test coverage detected