NumPy 2.3.0 Release Notes#

Highlights#

We’ll choose highlights for this release near the end of the release cycle.

Improvements#

  • Scalar comparisons between non-comparable dtypes such as np.array(1) == np.array(‘s’) now return a NumPy bool instead of a Python bool.

    (gh-27288)