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.
Updated

- Category
- Data Analysis
- Level
- Journeyman
- Tags
- NaN (python), NumPy, NumPy Array, python, Vectorized Operation