NumPy 是 Python 的基础数值计算库。它提供了 ndarray,这是一种快速的多维数组,以及一个用于数组操作的全面数学函数库,而无需 Python 循环。NumPy 是 Pandas、Scikit-learn 和大多数其他科学 Python 库的基础。
ndarray