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

Method _divisions

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

Source from the content-addressed store, hash-verified

2559 return 1
2560
2561 def _divisions(self):
2562 if self.operand("npartitions") <= -1:
2563 return self.frame.divisions[0], self.frame.divisions[-1]
2564 return (
2565 self.frame.divisions[0],
2566 self.frame.divisions[self.operand("npartitions")],
2567 )
2568
2569 def _task(self, name: Key, index: int) -> Task:
2570 raise NotImplementedError()

Callers

nothing calls this directly

Calls 1

operandMethod · 0.80

Tested by

no test coverage detected