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

Function format_index

dask/array/core.py:4347–4348  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

4345 return x[(None,) * diff + (Ellipsis,)]
4346
4347 def format_index(index):
4348 return "arrays" + "".join(f"[{i}]" for i in index)
4349
4350 rec = _Recurser(recurse_if=lambda x: type(x) is list)
4351

Callers 1

blockFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected