Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ same_keys
Function
same_keys
dask/array/utils.py:191–198 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
189
190
191
def
same_keys(a, b):
192
def
key(k):
193
if
isinstance(k, str):
194
return
(k, -1, -1, -1)
195
else
:
196
return
k
197
198
return
sorted(a.dask, key=key) == sorted(b.dask, key=key)
199
200
201
def
_not_empty(x):
Callers
15
test_fromfunction
Function · 0.90
test_overlap_internal
Function · 0.90
test_overlap_internal_asymmetric
Function · 0.90
test_overlap_internal_asymmetric_small
Function · 0.90
test_overlap
Function · 0.90
test_stack
Function · 0.90
test_concatenate
Function · 0.90
test_field_access
Function · 0.90
test_map_blocks2
Function · 0.90
test_astype
Function · 0.90
test_elemwise_consistent_names
Function · 0.90
test_from_func
Function · 0.90
Calls
no outgoing calls
Tested by
15
test_fromfunction
Function · 0.72
test_overlap_internal
Function · 0.72
test_overlap_internal_asymmetric
Function · 0.72
test_overlap_internal_asymmetric_small
Function · 0.72
test_overlap
Function · 0.72
test_stack
Function · 0.72
test_concatenate
Function · 0.72
test_field_access
Function · 0.72
test_map_blocks2
Function · 0.72
test_astype
Function · 0.72
test_elemwise_consistent_names
Function · 0.72
test_from_func
Function · 0.72