The Python Oracle

output of numpy.where(condition) is not an array, but a tuple of arrays: why?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Magical Minnie Puzzles

--

Chapters
00:00 Output Of Numpy.Where(Condition) Is Not An Array, But A Tuple Of Arrays: Why?
01:25 Accepted Answer Score 50
03:46 Answer 2 Score 12
04:19 Answer 3 Score 2
04:33 Thank you

--

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

--

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

--

Tags
#python #arrays #numpy

#avk47