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

Function dummy

dask/array/tests/test_map_blocks.py:10–11  ·  view source on GitHub ↗
(x, block_id=None, block_info=None)

Source from the content-addressed store, hash-verified

8 arr = da.ones((20, 10), chunks=(2, 5))
9
10 def dummy(x, block_id=None, block_info=None):
11 return x
12
13 result = arr.map_blocks(dummy).astype("f8")
14 dsk = collections_to_expr([result])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected