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

Method _lower

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

Source from the content-addressed store, hash-verified

2700 return self
2701
2702 def _lower(self):
2703 if not isinstance(self, BlockwiseTail):
2704 # Lower to Blockwise
2705 if is_index_like(self._meta):
2706 return BlockwiseTailIndex(
2707 Partitions(self.frame, [self.frame.npartitions - 1]), self.n
2708 )
2709 return BlockwiseTail(
2710 Partitions(self.frame, [self.frame.npartitions - 1]), self.n
2711 )
2712
2713
2714class BlockwiseTail(Tail, Blockwise):

Callers

nothing calls this directly

Calls 4

is_index_likeFunction · 0.85
BlockwiseTailIndexClass · 0.85
PartitionsClass · 0.85
BlockwiseTailClass · 0.85

Tested by

no test coverage detected