The Python Oracle

Better way to shuffle two numpy arrays in unison

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Orient Looping

--

Chapters
00:00 Question
01:33 Accepted answer (Score 81)
03:36 Answer 2 (Score 470)
03:56 Answer 3 (Score 212)
04:12 Answer 4 (Score 46)
04:32 Thank you

--

Full question
https://stackoverflow.com/questions/4601...

Answer 1 links:
[array indexing]: https://docs.scipy.org/doc/numpy-1.10.1/...

Answer 2 links:
http://scikit-learn.org/stable/modules/g...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #numpy #random #shuffle #numpyndarray

#avk47