The Python Oracle

Difference between numpy.array shape (R, 1) and (R,)

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: Puzzle Meditation

--

Chapters
00:00 Question
01:28 Accepted answer (Score 688)
06:21 Answer 2 (Score 29)
07:37 Answer 3 (Score 21)
08:16 Answer 4 (Score 5)
10:16 Thank you

--

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

Accepted answer links:
[reshape]: http://docs.scipy.org/doc/numpy/referenc...
[NumPy internals documentation]: http://docs.scipy.org/doc/numpy/referenc...
[numpy.reshape]: http://docs.scipy.org/doc/numpy/referenc...

--

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

--

Tags
#python #numpy #matrix #multidimensionalarray

#avk47