The Python Oracle

Why numpy can save and load objects different than numpy arrays

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

--

Track title: CC C Schuberts Piano Sonata No 13 D

--

Chapters
00:00 Question
01:49 Accepted answer (Score 4)
03:06 Answer 2 (Score 3)
03:51 Thank you

--

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

Question links:
[documentation]: https://docs.scipy.org/doc/numpy/referen...

Accepted answer links:
[numpy.save()]: https://docs.scipy.org/doc/numpy/referen...
[numpy: formal definition of "array_like" objects?]: https://stackoverflow.com/questions/4037...
[numpy/core/src/multiarray/ctors.c:PyArray_FromAny()]: https://github.com/numpy/numpy/blob/mast...
[numpy/npyio.py]: https://github.com/numpy/numpy/blob/mast...
[numpy/core/numeric.py:asanyarray()]: https://github.com/numpy/numpy/blob/mast...
[numpy/core/src/multiarray/multiarraymodule.c:_array_fromobject()]: https://github.com/numpy/numpy/blob/mast...
[numpy/core/src/multiarray/ctors.c:PyArray_CheckFromAny()]: https://github.com/numpy/numpy/blob/mast...

--

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

--

Tags
#python #numpy

#avk47