Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ _shuffle
Function
_shuffle
dask/array/random.py:793–795 ·
view source on GitHub ↗
(bit_generator, x, axis=0)
Source
from the content-addressed store, hash-verified
791
792
793
def
_shuffle(bit_generator, x, axis=0):
794
state = _rng_from_bitgen(bit_generator)
795
return
state.shuffle(x, axis=axis)
796
797
798
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