4 ms·
NumPy 1.20 has been released
- kortex 6y ago> Another significant new feature in NumPy 1.20 is the type annotations. Fantastic! I look forward not just to stronger typing, but also the opportunities to optimize based on stronger type information through a numpy heavy workflow. Also the stride tools are nice.
- leephillips 6y agoI'm not sure how the type annotations can help with optimization (although I could be missing something, and would be glad of an explanation). But, as I explain briefly in the article, they can warn you if you accidentally declare an array of objects rather than primitive types, which would kill performance.
- asicsp 6y agoDiscussed 3 weeks ago: https://news.ycombinator.com/item?id=25977977 https://news.ycombinator.com/item?id=25977977
- danielscrubs 6y agoNumpy is really THE library that keeps data scientists. People think it’s Tensorflow but we could switch out that library in a heartbeat. NumPy just has so many operations and is so ergonomic that its hard to imagine anything else. Thanks for all the hard work!