←back to thread

I don't like NumPy

(dynomight.net)
480 points MinimalAction | 1 comments | | HN request time: 0.192s | source
Show context
complex_pi ◴[] No.43998087[source]
NumPy allows a lot of science to happen. Grievance is fine but a little respect is as well.

NumPy is the lingua franca for storing and passing arrays in memory in Python.

Thank you NumPy!

replies(2): >>43998205 #>>43998238 #
rekenaut ◴[] No.43998238[source]
This is great aspect of it, but that doesn’t diminish that it feels so tedious to work with compared to Julia and Matlab. Some of that is just from trying to shoehorn Python as a scientific computing language, but I think it’s time to revisit whether Python should have first party support for vectorization, arrays in memory, and broadcasting as Julia and Matlab have.
replies(3): >>43998331 #>>43998604 #>>44004526 #
1. complex_pi ◴[] No.43998331[source]
NumPy allowed a PEP for the in-memory representation of arrays in Python. This is tremendous useful for making APIs.