# NumPy: The Engine Under pandas

NumPy's array holds many values of one type and does math on all of them at once, a vectorized operation that a Python list can't do; every pandas column keeps its values in an array (to_numpy hands it over), np.mean gives NaN when a value is missing where pandas skips it, and one type per column is what makes the math fast.

![Cheat sheet: NumPy: The Engine Under pandas](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/d3c58eec24c947a28d2c9f4257553b27.webp)

- Category: Data Analysis
- Level: Journeyman
- Tags: NaN (python), NumPy, NumPy Array, python, Vectorized Operation
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/data-numpy-under-pandas-cheat-sheet
