Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ format_index
Function
format_index
dask/array/core.py:4548–4549 ·
view source on GitHub ↗
(index)
Source
from the content-addressed store, hash-verified
4546
return
x[(None,) * diff + (Ellipsis,)]
4547
4548
def
format_index(index):
4549
return
"arrays"
+
""
.join(f
"[{i}]"
for
i in index)
4550
4551
rec = _Recurser(recurse_if=
lambda
x: type(x) is list)
4552
Callers
1
block
Function · 0.85
Calls
1
join
Method · 0.45
Tested by
no test coverage detected