Are there any significant updates in the NumPy or SciPy libraries
Here are the significant updates in NumPy and SciPy libraries:
NumPy Updates
-
NumPy 2.0: Released in June 2024, this major update includes significant changes such as a new API, improved scalar promotion rules, a new DType API, and a new string DType. It also introduces breaking changes, including an ABI break, which may require code adjustments.
-
API and ABI Changes: The update includes a public and private API split, namespace cleanup, and deprecation of niche functionality. The ABI changes will impact binaries of packages using the NumPy C API.
-
New DType API and String DType: Supports native variable-length string data types, enhancing user-defined custom data types.
-
Scalar Promotion Rules: Updated to prevent user surprises by basing promotion on DTypes rather than data values.
-
Performance Improvements: Faster sorting functions and improved linear algebra operations on macOS using Accelerate.
-
-
NumPy 2.1 and …