output of numpy.where(condition) is not an array, but a tuple of arrays: why?
This video explains
output of numpy.where(condition) is not an array, but a tuple of arrays: why?
--
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: Forest of Spells Looping
--
Chapters
00:00 Question
01:41 Accepted answer (Score 46)
05:08 Answer 2 (Score 12)
05:46 Answer 3 (Score 1)
06:04 Thank you
--
Full question
https://stackoverflow.com/questions/3374...
Question links:
[numpy documentation,]: http://docs.scipy.org/doc/numpy-1.10.1/r...
Answer 2 links:
[np.asarray]: https://docs.scipy.org/doc/numpy/referen...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #arrays #numpy
#avk47
output of numpy.where(condition) is not an array, but a tuple of arrays: why?
--
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: Forest of Spells Looping
--
Chapters
00:00 Question
01:41 Accepted answer (Score 46)
05:08 Answer 2 (Score 12)
05:46 Answer 3 (Score 1)
06:04 Thank you
--
Full question
https://stackoverflow.com/questions/3374...
Question links:
[numpy documentation,]: http://docs.scipy.org/doc/numpy-1.10.1/r...
Answer 2 links:
[np.asarray]: https://docs.scipy.org/doc/numpy/referen...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #arrays #numpy
#avk47