Last answered:

31 Dec 2022

Posted on:

31 Oct 2022

1

Is array_RG.shuffle() a better way to shuffle?

Hey guys,

Is array_RG.shuffle() mentioned in this video a better way to shuffle the data?

Is it more randomly or something else?

What's the main difference between shuffle() & array_RG.shuffle() from the perspective of output?

Thanks!

1 answers ( 0 marked as helpful)
Posted on:

31 Dec 2022

0

Shuffling is random in both instances. Both methods override the original dataset. The question is whether one of the methods is faster in runtime.

Submit an answer