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

Method _lower

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

Source from the content-addressed store, hash-verified

2677 return self
2678
2679 def _lower(self):
2680 if not isinstance(self, BlockwiseTail):
2681 # Lower to Blockwise
2682 if is_index_like(self._meta):
2683 return BlockwiseTailIndex(
2684 Partitions(self.frame, [self.frame.npartitions - 1]), self.n
2685 )
2686 return BlockwiseTail(
2687 Partitions(self.frame, [self.frame.npartitions - 1]), self.n
2688 )
2689
2690
2691class 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