What NumPy is and Why it Matters

NumPy is a library in Python that gives you the ability to create arrays quickly: organized tables of numbers you can work with by rows and columns (and more). It is used in science, data, and engineering.

Why it's important: You can do math over whole arrays at once (vectorization and broadcasting), which usually makes code shorter and much faster than equivalent Python loops.

Read here for more information

Absolute basics for beginners—best for true beginners. Learn what an array is, what “shape” means (like “3 rows × 4 columns”), and how to pick out parts of an array. You also meet views (slices that share data) vs. copies (independent data).

Quickstart for the more experienced—best if you have a little Python already. A short tour of array properties, ways to create arrays, reshaping, and doing math on arrays.

Read here for more information.

Use the official library guide to install NumPy (pip/conda or newer tools). You can find that information here!

After installing, verify with:

code text written in pink black and yellow describing NumPy versioning