NumPy 2.0.0 Released: Major Updates, Performance Boosts, and Breaking Changes

June 17, 2024
NumPy 2.0.0 Released: Major Updates, Performance Boosts, and Breaking Changes
  • NumPy 2.0.0 introduces significant changes and improvements, including support for variable-length string dtype and float32 in fft functions.

  • Performance enhancements include accelerated sorting functions and macOS Accelerate support.

  • There are breaking changes to Python and C APIs, impacting backwards compatibility and the NumPy ABI.

  • Several Python API functions have been removed and replaced, with support for Python versions 3.9-3.12.

  • Deprecated functions like np.asfarray and np.Inf have been addressed, along with compatibility notes for loadtxt and genfromtxt encoding changes.

  • Experimental memory improvements, modifications in sorting functions behavior, and enhancements to np.solve when broadcasting have been implemented.

  • C API changes include new datetime functionality and const correctness for ufunc C API.

  • New C-API import functions have been added for more efficient NumPy C-API table importing.

  • Users are encouraged to report any bugs encountered with the new features for further improvements.

Summary based on 0 sources


Get a daily email with more Tech stories

More Stories