@@ -5,7 +5,70 @@ NumPy 2.0.1 Release Notes
55==========================
66
77NumPy 2.0.1 is a maintenance release that fixes bugs and regressions
8- discovered after the 2.0.0 release.
8+ discovered after the 2.0.0 release. NumPy 2.0.1 is the last planned
9+ release in the 2.0.x series, 2.1.0rc1 should be out shortly.
910
1011The Python versions supported by this release are 3.9-3.12.
1112
13+ Improvements
14+ ============
15+
16+ ``np.quantile `` with method ``closest_observation `` chooses nearest even order statistic
17+ ----------------------------------------------------------------------------------------
18+ This changes the definition of nearest for border cases from the nearest odd
19+ order statistic to nearest even order statistic. The numpy implementation now
20+ matches other reference implementations.
21+
22+ (`gh-26656 <https://github.com/numpy/numpy/pull/26656 >`__)
23+
24+ Contributors
25+ ============
26+
27+ A total of 15 people contributed to this release. People with a "+" by their
28+ names contributed a patch for the first time.
29+
30+ * @vahidmech +
31+ * Alex Herbert +
32+ * Charles Harris
33+ * Giovanni Del Monte +
34+ * Leo Singer
35+ * Lysandros Nikolaou
36+ * Matti Picus
37+ * Nathan Goldbaum
38+ * Patrick J. Roddy +
39+ * Raghuveer Devulapalli
40+ * Ralf Gommers
41+ * Rostan Tabet +
42+ * Sebastian Berg
43+ * Tyler Reddy
44+ * Yannik Wicke +
45+
46+ Pull requests merged
47+ ====================
48+
49+ A total of 24 pull requests were merged for this release.
50+
51+ * `#26711 <https://github.com/numpy/numpy/pull/26711 >`__: MAINT: prepare 2.0.x for further development
52+ * `#26792 <https://github.com/numpy/numpy/pull/26792 >`__: TYP: fix incorrect import in ``ma/extras.pyi `` stub
53+ * `#26793 <https://github.com/numpy/numpy/pull/26793 >`__: DOC: Mention '1.25' legacy printing mode in ``set_printoptions ``
54+ * `#26794 <https://github.com/numpy/numpy/pull/26794 >`__: DOC: Remove mention of NaN and NAN aliases from constants
55+ * `#26821 <https://github.com/numpy/numpy/pull/26821 >`__: BLD: Fix x86-simd-sort build failure on openBSD
56+ * `#26822 <https://github.com/numpy/numpy/pull/26822 >`__: BUG: Ensure output order follows input in numpy.fft
57+ * `#26823 <https://github.com/numpy/numpy/pull/26823 >`__: TYP: fix missing sys import in numeric.pyi
58+ * `#26832 <https://github.com/numpy/numpy/pull/26832 >`__: DOC: remove hack to override _add_newdocs_scalars (#26826)
59+ * `#26835 <https://github.com/numpy/numpy/pull/26835 >`__: BUG: avoid side-effect of 'include complex.h'
60+ * `#26836 <https://github.com/numpy/numpy/pull/26836 >`__: BUG: fix max_rows and chunked string/datetime reading in ``loadtxt ``
61+ * `#26837 <https://github.com/numpy/numpy/pull/26837 >`__: BUG: fix PyArray_ImportNumPyAPI under -Werror=strict-prototypes
62+ * `#26856 <https://github.com/numpy/numpy/pull/26856 >`__: DOC: Update some documentation
63+ * `#26868 <https://github.com/numpy/numpy/pull/26868 >`__: BUG: fancy indexing copy
64+ * `#26869 <https://github.com/numpy/numpy/pull/26869 >`__: BUG: Mismatched allocation domains in ``PyArray_FillWithScalar ``
65+ * `#26870 <https://github.com/numpy/numpy/pull/26870 >`__: BUG: Handle --f77flags and --f90flags for meson [wheel build]
66+ * `#26887 <https://github.com/numpy/numpy/pull/26887 >`__: BUG: Fix new DTypes and new string promotion when signature is...
67+ * `#26888 <https://github.com/numpy/numpy/pull/26888 >`__: BUG: remove numpy.f2py from excludedimports
68+ * `#26959 <https://github.com/numpy/numpy/pull/26959 >`__: BUG: Quantile closest_observation to round to nearest even order
69+ * `#26960 <https://github.com/numpy/numpy/pull/26960 >`__: BUG: Fix off-by-one error in amount of characters in strip
70+ * `#26961 <https://github.com/numpy/numpy/pull/26961 >`__: API: Partially revert unique with return_inverse
71+ * `#26962 <https://github.com/numpy/numpy/pull/26962 >`__: BUG,MAINT: Fix utf-8 character stripping memory access
72+ * `#26963 <https://github.com/numpy/numpy/pull/26963 >`__: BUG: Fix out-of-bound minimum offset for in1d table method
73+ * `#26971 <https://github.com/numpy/numpy/pull/26971 >`__: BUG: fix f2py tests to work with v2 API
74+ * `#26995 <https://github.com/numpy/numpy/pull/26995 >`__: BUG: Add object cast to avoid warning with limited API
0 commit comments