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

Method _task

dask/dataframe/dask_expr/_expr.py:2664–2667  ·  view source on GitHub ↗
(self, name: Key, index: int)

Source from the content-addressed store, hash-verified

2662
2663class BlockwiseHeadIndex(BlockwiseHead):
2664 def _task(self, name: Key, index: int) -> Task:
2665 return Task(
2666 name, operator.getitem, TaskRef((self.frame._name, index)), slice(0, self.n)
2667 )
2668
2669
2670class Tail(Expr):

Callers

nothing calls this directly

Calls 2

TaskClass · 0.90
TaskRefClass · 0.90

Tested by

no test coverage detected