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

Method _layer

dask/dataframe/dask_expr/_indexing.py:195–204  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

193 return plain_column_projection(self, parent, dependents)
194
195 def _layer(self) -> dict:
196 npartitions = self.npartitions
197 return {
198 (self._name, i): Task(
199 TaskRef((self._name, i)),
200 _reverse_partition,
201 TaskRef((self.frame._name, npartitions - i - 1)),
202 )
203 for i in range(self.npartitions)
204 }
205
206
207class LocBase(Blockwise):

Callers

nothing calls this directly

Calls 2

TaskClass · 0.90
TaskRefClass · 0.90

Tested by

no test coverage detected