Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ _shuffle
Function
_shuffle
dask/array/random.py:789–791 ·
view source on GitHub ↗
(bit_generator, x, axis=0)
Source
from the content-addressed store, hash-verified
787
788
789
def
_shuffle(bit_generator, x, axis=0):
790
state = _rng_from_bitgen(bit_generator)
791
return
state.shuffle(x, axis=axis)
792
793
794
def
_spawn_bitgens(bitgen, n_bitgens):
Callers
1
permutation
Method · 0.70
Calls
2
_rng_from_bitgen
Function · 0.70
shuffle
Method · 0.45
Tested by
no test coverage detected