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

Method _divisions

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

Source from the content-addressed store, hash-verified

3502 operation = M.shift
3503
3504 def _divisions(self):
3505 freq = self.freq
3506 if freq is None:
3507 freq = self._meta.freq
3508 divisions = _calc_maybe_new_divisions(self.frame, self.periods, freq)
3509 if divisions is None:
3510 divisions = (None,) * (self.frame.npartitions + 1)
3511 return divisions
3512
3513 @functools.cached_property
3514 def _kwargs(self) -> dict:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected