Learn NumPy
Fast n-dimensional arrays and the numerical foundation of Python
NumPy provides the ndarray, a fast typed n-dimensional array, together with vectorized math, broadcasting, linear algebra and random numbers. It is the foundation that pandas, SciPy, scikit-learn and most of scientific and data Python are built on. Learning it turns slow Python loops into concise, fast array expressions.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know