chunk_id large_stringlengths 36 36 | doc_type large_stringclasses 2
values | category large_stringclasses 17
values | document large_stringclasses 50
values | version_raw large_stringclasses 590
values | chunk_index int64 0 262 | text large_stringlengths 11 5.69k | file_path large_stringclasses 882
values |
|---|---|---|---|---|---|---|---|
ab3cab86-c409-5dd6-bd88-7fae85eba040 | changelog | numpy | numpy | 210 | 10 | ### `np.quantile` with method `closest_observation` chooses nearest even order statistic[#](#np-quantile-with-method-closest-observation-chooses-nearest-even-order-statistic "Link to this heading")
This changes the definition of nearest for border cases from the nearest odd
order statistic to nearest even order statis... | large_dataset/raw/changelog/numpy_releases/numpy_210.md |
4b2d1d3e-d3cd-575e-b47b-aa2353102ae6 | changelog | numpy | numpy | 210 | 11 | ([gh-26750](https://github.com/numpy/numpy/pull/26750))
### The `numpy.printoptions` context manager is now thread and async-safe[#](#the-numpy-printoptions-context-manager-is-now-thread-and-async-safe "Link to this heading")
In prior versions of NumPy, the printoptions were defined using a combination
of Python and ... | large_dataset/raw/changelog/numpy_releases/numpy_210.md |
a0876755-6863-5cf8-91e2-46b18bea0694 | changelog | numpy | numpy | 210 | 12 | ### Improved `numpy.dtypes` type hints[#](#improved-numpy-dtypes-type-hints "Link to this heading")
The type annotations for `numpy.dtypes` are now a better reflection of the
runtime: The `numpy.dtype` type-aliases have been replaced with specialized
`dtype` *subtypes*, and the previously missing annotations for
`nump... | large_dataset/raw/changelog/numpy_releases/numpy_210.md |
500dde08-c8b8-598b-a15c-2b9318057249 | changelog | numpy | numpy | 210 | 13 | ([gh-27147](https://github.com/numpy/numpy/pull/27147))
* OpenBLAS on windows is linked without quadmath, simplifying licensing
([gh-27147](https://github.com/numpy/numpy/pull/27147))
* Due to a regression in OpenBLAS on windows, the performance improvements when
using multiple threads for OpenBLAS 0.3.26 were r... | large_dataset/raw/changelog/numpy_releases/numpy_210.md |
dd676877-7549-54cf-95a4-7e55795ccc8a | changelog | numpy | numpy | 210 | 14 | * `numpy.floor`, `numpy.ceil`, and `numpy.trunc` now won’t perform
casting to a floating dtype for integer and boolean dtype input arrays.
([gh-26766](https://github.com/numpy/numpy/pull/26766))
### `ma.corrcoef` may return a slightly different result[#](#ma-corrcoef-may-return-a-slightly-different-result "Link t... | large_dataset/raw/changelog/numpy_releases/numpy_210.md |
8b86b2d5-dda5-54e5-b560-773b5c15eb54 | changelog | numpy | numpy | 210 | 15 | estimates in all other cases, including returning the same correlation matrix
as `corrcoef` when using a masked array with no masked values.
([gh-26285](https://github.com/numpy/numpy/pull/26285))
### Cast-safety fixes in `copyto` and `full`[#](#cast-safety-fixes-in-copyto-and-full "Link to this heading")
`copyto` n... | large_dataset/raw/changelog/numpy_releases/numpy_210.md |
7efdf515-5cd3-5942-906b-fc22bc8513be | changelog | numpy | numpy | 210 | 16 | (float32 cannot hold `1e300`) rather raising a TypeError.
Further, only the dtype is used when assigning NumPy scalars (or 0-d arrays),
meaning that the following behaves differently:
* `np.copyto(float32_arr, np.float64(3.0), casting="safe")` raises.
* `np.coptyo(int8_arr, np.int64(100), casting="safe")` raises.
... | large_dataset/raw/changelog/numpy_releases/numpy_210.md |
585bf73f-785a-5ec5-8757-dcf4839c9d93 | changelog | numpy | numpy | 211 | 0 | # NumPy 2.1.1 Release Notes#
Source: https://numpy.org/doc/stable/release/2.1.1-notes.html
Version: 2.1.1
NumPy 2.1.1 is a maintenance release that fixes bugs and regressions
discovered after the 2.1.0 release.
The Python versions supported by this release are 3.10-3.13.
## Contributors[#](#contributors "Link to th... | large_dataset/raw/changelog/numpy_releases/numpy_211.md |
15910f7d-031c-549f-a5f6-cb3af487ce1c | changelog | numpy | numpy | 211 | 1 | * [#27259](https://github.com/numpy/numpy/pull/27259): BUG: revert unintended change in the return value of set\_printoptions
* [#27266](https://github.com/numpy/numpy/pull/27266): BUG: fix reference counting bug in \_\_array\_interface\_\_ implementation…
* [#27267](https://github.com/numpy/numpy/pull/27267): TST: Add... | large_dataset/raw/changelog/numpy_releases/numpy_211.md |
7f0d6b1b-aa89-5881-9796-835b13b5554d | changelog | numpy | numpy | 212 | 0 | # NumPy 2.1.2 Release Notes#
Source: https://numpy.org/doc/stable/release/2.1.2-notes.html
Version: 2.1.2
NumPy 2.1.2 is a maintenance release that fixes bugs and regressions
discovered after the 2.1.1 release.
The Python versions supported by this release are 3.10-3.13.
## Contributors[#](#contributors "Link to th... | large_dataset/raw/changelog/numpy_releases/numpy_212.md |
92fedd5d-3536-5a55-b07c-b99e5d826eec | changelog | numpy | numpy | 212 | 1 | * [#27406](https://github.com/numpy/numpy/pull/27406): BUG: Stub out get\_build\_msvc\_version if distutils.msvccompiler…
* [#27416](https://github.com/numpy/numpy/pull/27416): BUILD: fix missing include for std::ptrdiff\_t for C++23 language…
* [#27433](https://github.com/numpy/numpy/pull/27433): BLD: pin setuptools t... | large_dataset/raw/changelog/numpy_releases/numpy_212.md |
9f5e4df4-208d-57e1-8617-22012863a9fe | changelog | numpy | numpy | 212 | 2 | * [#27501](https://github.com/numpy/numpy/pull/27501): MAINT: Bump pypa/cibuildwheel from 2.20.0 to 2.21.2
* [#27506](https://github.com/numpy/numpy/pull/27506): BUG: avoid segfault on bad arguments in ndarray.\_\_array\_function\_\_
| large_dataset/raw/changelog/numpy_releases/numpy_212.md |
b09a5737-0e05-5736-8508-ccceff3790cb | changelog | numpy | numpy | 213 | 0 | # NumPy 2.1.3 Release Notes#
Source: https://numpy.org/doc/stable/release/2.1.3-notes.html
Version: 2.1.3
NumPy 2.1.3 is a maintenance release that fixes bugs and regressions
discovered after the 2.1.2 release.
The Python versions supported by this release are 3.10-3.13.
## Improvements[#](#improvements "Link to th... | large_dataset/raw/changelog/numpy_releases/numpy_213.md |
be8dff3b-17d9-526b-8e01-88bba3170394 | changelog | numpy | numpy | 213 | 1 | ## Contributors[#](#contributors "Link to this heading")
A total of 15 people contributed to this release. People with a “+” by their
names contributed a patch for the first time.
* Abhishek Kumar +
* Austin +
* Benjamin A. Beasley +
* Charles Harris
* Christian Lorentzen
* Marcel Telka +
* Matti Picus
* Michael Davi... | large_dataset/raw/changelog/numpy_releases/numpy_213.md |
7b2e2a04-7a4a-5016-8764-b5913d94a71f | changelog | numpy | numpy | 213 | 2 | * [#27543](https://github.com/numpy/numpy/pull/27543): BUG: Fix user dtype can-cast with python scalar during promotion
* [#27561](https://github.com/numpy/numpy/pull/27561): DEV: bump `python` to 3.12 in environment.yml
* [#27562](https://github.com/numpy/numpy/pull/27562): BLD: update vendored Meson to 1.5.2
* [#2756... | large_dataset/raw/changelog/numpy_releases/numpy_213.md |
45bb076e-9394-53b6-80a4-e6d65e3ec2ba | changelog | numpy | numpy | 213 | 3 | * [#27574](https://github.com/numpy/numpy/pull/27574): BUG: Fix warning “differs in levels of indirection” in npy\_atomic.h…
* [#27592](https://github.com/numpy/numpy/pull/27592): MAINT: Update Highway to latest
* [#27593](https://github.com/numpy/numpy/pull/27593): BUG: Adjust numpy.i for SWIG 4.3 compatibility
* [#27... | large_dataset/raw/changelog/numpy_releases/numpy_213.md |
b805bf59-287a-51af-a08b-e1a17d541581 | changelog | numpy | numpy | 220 | 0 | # NumPy 2.2.0 Release Notes#
Source: https://numpy.org/doc/stable/release/2.2.0-notes.html
Version: 2.2.0
The NumPy 2.2.0 release is quick release that brings us back into sync with the
usual twice yearly release cycle. There have been an number of small cleanups,
as well as work bringing the new StringDType to compl... | large_dataset/raw/changelog/numpy_releases/numpy_220.md |
10192876-7531-57e9-989a-f87df700dae6 | changelog | numpy | numpy | 220 | 1 | ## Expired deprecations[#](#expired-deprecations "Link to this heading")
* `bool(np.array([]))` and other empty arrays will now raise an error.
Use `arr.size > 0` instead to check whether an array has no elements.
([gh-27160](https://github.com/numpy/numpy/pull/27160))
## Compatibility notes[#](#compatibility-no... | large_dataset/raw/changelog/numpy_releases/numpy_220.md |
c910cabf-5e1b-5f64-8080-3bde48403a61 | changelog | numpy | numpy | 220 | 2 | + [`numpy.matvec`](../reference/generated/numpy.matvec.html#numpy.matvec "numpy.matvec") - matrix-vector product, treating the arguments as
stacks of matrices and column vectors, respectively.
+ [`numpy.vecmat`](../reference/generated/numpy.vecmat.html#numpy.vecmat "numpy.vecmat") - vector-matrix product, treat... | large_dataset/raw/changelog/numpy_releases/numpy_220.md |
f8977bc0-603a-5413-88e5-cde5c9d65c31 | changelog | numpy | numpy | 220 | 3 | [`numpy.vecmat`](../reference/generated/numpy.vecmat.html#numpy.vecmat "numpy.vecmat") do take the conjugate for complex vectors on the
left-hand side (which are taken to be the ones that are transposed,
following the physics convention).
([gh-25675](https://github.com/numpy/numpy/pull/25675))
* `np.complexflo... | large_dataset/raw/changelog/numpy_releases/numpy_220.md |
f8a3ac97-c770-54f6-a943-7cab724407b2 | changelog | numpy | numpy | 220 | 4 | ## Improvements[#](#improvements "Link to this heading")
* The `datetime64` and `timedelta64` hashes now correctly match the Pythons
builtin `datetime` and `timedelta` ones. The hashes now evaluated equal
even for equal values with different time units.
([gh-14622](https://github.com/numpy/numpy/pull/14622))
* ... | large_dataset/raw/changelog/numpy_releases/numpy_220.md |
878c9a90-1cb2-5ad6-86c5-4be2953ef14a | changelog | numpy | numpy | 220 | 5 | even if `offset=0`. To achieve this, if a [`memmap`](../reference/generated/numpy.memmap.html#numpy.memmap "numpy.memmap") is mapped to an empty
file that file is padded with a single byte.
([gh-27723](https://github.com/numpy/numpy/pull/27723))
### `f2py` handles multiple modules and exposes variables again[#]... | large_dataset/raw/changelog/numpy_releases/numpy_220.md |
77e0f85f-1d0c-5431-a7a5-d0fb6088db4d | changelog | numpy | numpy | 220 | 6 | * NumPy now uses fast-on-failure attribute lookups for protocols. This can
greatly reduce overheads of function calls or array creation especially with
custom Python objects. The largest improvements will be seen on Python 3.12
or newer.
([gh-27119](https://github.com/numpy/numpy/pull/27119))
* OpenBLAS on x86... | large_dataset/raw/changelog/numpy_releases/numpy_220.md |
cbfa7fd3-9f92-5a18-9aa4-3465f6d0528a | changelog | numpy | numpy | 220 | 7 | ## Changes[#](#changes "Link to this heading")
* [`numpy.fix`](../reference/generated/numpy.fix.html#numpy.fix "numpy.fix") now won’t perform casting to a floating data-type for integer
and boolean data-type input arrays.
([gh-26766](https://github.com/numpy/numpy/pull/26766))
* The type annotations of `numpy.flo... | large_dataset/raw/changelog/numpy_releases/numpy_220.md |
d127b0fe-56c3-5b75-bdf6-2393afbd3e68 | changelog | numpy | numpy | 220 | 8 | inferred from the values. Note that while written as `shape=...`, this
argument cannot actually be passed in to the `np.array` constructor. If
you encounter problems, e.g., due to failing doctests, you can use the print
option `legacy=2.1` to get the old behaviour.
([gh-27482](https://github.com/numpy/numpy/... | large_dataset/raw/changelog/numpy_releases/numpy_220.md |
47ce6274-422d-53ea-bed5-f5333b32a278 | changelog | numpy | numpy | 220 | 9 | ### NEP 50 promotion state option removed[#](#nep-50-promotion-state-option-removed "Link to this heading")
The NEP 50 promotion state settings are now removed. They were always meant as
temporary means for testing. A warning will be given if the environment
variable is set to anything but `NPY_PROMOTION_STATE=weak` w... | large_dataset/raw/changelog/numpy_releases/numpy_220.md |
13e4b315-58e0-5239-ad1c-12f34e8fd2cc | changelog | numpy | numpy | 221 | 0 | # NumPy 2.2.1 Release Notes#
Source: https://numpy.org/doc/stable/release/2.2.1-notes.html
Version: 2.2.1
NumPy 2.2.1 is a patch release following 2.2.0. It fixes bugs found after the
2.2.0 release and has several maintenance pins to work around upstream changes.
There was some breakage in downstream projects follow... | large_dataset/raw/changelog/numpy_releases/numpy_221.md |
777834be-e5d8-525c-bb8c-da0edf0d06b3 | changelog | numpy | numpy | 221 | 1 | * Warren Weckesser
* Yang Wang +
## Pull requests merged[#](#pull-requests-merged "Link to this heading")
A total of 12 pull requests were merged for this release.
* [#27935](https://github.com/numpy/numpy/pull/27935): MAINT: Prepare 2.2.x for further development
* [#27950](https://github.com/numpy/numpy/pull/27950)... | large_dataset/raw/changelog/numpy_releases/numpy_221.md |
1d6e5060-9a31-536e-b66f-2580d593e13f | changelog | numpy | numpy | 221 | 2 | * [#28006](https://github.com/numpy/numpy/pull/28006): MAINT: random: Tweak module code in mtrand.pyx to fix a Cython…
* [#28007](https://github.com/numpy/numpy/pull/28007): BUG: Cython API was missing NPY\_UINTP.
* [#28021](https://github.com/numpy/numpy/pull/28021): CI: pin scipy-doctest to 1.5.1
* [#28044](https://g... | large_dataset/raw/changelog/numpy_releases/numpy_221.md |
91f2b311-e53d-5069-bd94-960699c752a7 | changelog | numpy | numpy | 222 | 0 | # NumPy 2.2.2 Release Notes#
Source: https://numpy.org/doc/stable/release/2.2.2-notes.html
Version: 2.2.2
NumPy 2.2.2 is a patch release that fixes bugs found after the 2.2.1 release.
The number of typing fixes/updates is notable. This release supports Python
versions 3.10-3.13.
## Contributors[#](#contributors "Lin... | large_dataset/raw/changelog/numpy_releases/numpy_222.md |
92d29ab8-0788-5f86-96d5-0a8193e1b1ae | changelog | numpy | numpy | 222 | 1 | * [#28066](https://github.com/numpy/numpy/pull/28066): TYP: fix unnecessarily broad `integer` binop return types (#28065)
* [#28112](https://github.com/numpy/numpy/pull/28112): TYP: Better `ndarray` binop return types for `float64` &…
* [#28113](https://github.com/numpy/numpy/pull/28113): TYP: Return the correct `bool`... | large_dataset/raw/changelog/numpy_releases/numpy_222.md |
12d4703f-2df3-58bb-b131-87ee330b5389 | changelog | numpy | numpy | 222 | 2 | * [#28160](https://github.com/numpy/numpy/pull/28160): BUG: Avoid data race in PyArray\_CheckFromAny\_int
* [#28175](https://github.com/numpy/numpy/pull/28175): BUG: Fix f2py directives and –lower casing
* [#28176](https://github.com/numpy/numpy/pull/28176): TYP: Fix overlapping overloads issue in 2->1 ufuncs
* [#28177... | large_dataset/raw/changelog/numpy_releases/numpy_222.md |
5f5281c4-01ca-5522-8eb5-ca937d92c86f | changelog | numpy | numpy | 223 | 0 | # NumPy 2.2.3 Release Notes#
Source: https://numpy.org/doc/stable/release/2.2.3-notes.html
Version: 2.2.3
NumPy 2.2.3 is a patch release that fixes bugs found after the 2.2.2 release.
The majority of the changes are typing improvements and fixes for free
threaded Python. Both of those areas are still under developmen... | large_dataset/raw/changelog/numpy_releases/numpy_223.md |
fdb8a0e0-03dd-5352-895c-440aa96a0964 | changelog | numpy | numpy | 223 | 1 | * [#28201](https://github.com/numpy/numpy/pull/28201): BUG: fix data race in a more minimal way on stable branch
* [#28208](https://github.com/numpy/numpy/pull/28208): BUG: Fix `from_float_positional` errors for huge pads
* [#28209](https://github.com/numpy/numpy/pull/28209): BUG: fix data race in np.repeat
* [#28212](... | large_dataset/raw/changelog/numpy_releases/numpy_223.md |
d982c15e-d25d-50fd-bcf9-4e9138696422 | changelog | numpy | numpy | 223 | 2 | * [#28274](https://github.com/numpy/numpy/pull/28274): TYP: Fixed missing typing information of set\_printoptions
* [#28278](https://github.com/numpy/numpy/pull/28278): BUG: backport resource cleanup bugfix from gh-28273
* [#28282](https://github.com/numpy/numpy/pull/28282): BUG: fix incorrect bytes to stringdtype coer... | large_dataset/raw/changelog/numpy_releases/numpy_223.md |
409537a9-1485-522b-827e-216545526fe4 | changelog | numpy | numpy | 224 | 0 | # NumPy 2.2.4 Release Notes#
Source: https://numpy.org/doc/stable/release/2.2.4-notes.html
Version: 2.2.4
NumPy 2.2.4 is a patch release that fixes bugs found after the 2.2.3 release.
There are a large number of typing improvements, the rest of the changes are
the usual mix of bug fixes and platform maintenance.
Thi... | large_dataset/raw/changelog/numpy_releases/numpy_224.md |
7c86565a-3b27-5411-98f2-0cff9e2daf0e | changelog | numpy | numpy | 224 | 1 | ## Pull requests merged[#](#pull-requests-merged "Link to this heading")
A total of 17 pull requests were merged for this release.
* [#28333](https://github.com/numpy/numpy/pull/28333): MAINT: Prepare 2.2.x for further development.
* [#28348](https://github.com/numpy/numpy/pull/28348): TYP: fix positional- and keywor... | large_dataset/raw/changelog/numpy_releases/numpy_224.md |
64d4d495-b9e7-5d13-9f15-268066bca5f2 | changelog | numpy | numpy | 224 | 2 | * [#28424](https://github.com/numpy/numpy/pull/28424): BUG: skip legacy dtype multithreaded test on 32 bit runners
* [#28435](https://github.com/numpy/numpy/pull/28435): BUG: Fix searchsorted and CheckFromAny byte-swapping logic
* [#28449](https://github.com/numpy/numpy/pull/28449): BUG: sanity check `__array_interface... | large_dataset/raw/changelog/numpy_releases/numpy_224.md |
222093e7-1147-5ef1-829e-feeeb41595be | changelog | numpy | numpy | 225 | 0 | # NumPy 2.2.5 Release Notes#
Source: https://numpy.org/doc/stable/release/2.2.5-notes.html
Version: 2.2.5
NumPy 2.2.5 is a patch release that fixes bugs found after the 2.2.4 release.
It has a large number of typing fixes/improvements as well as the normal bug
fixes and some CI maintenance.
This release supports Pyt... | large_dataset/raw/changelog/numpy_releases/numpy_225.md |
7a401347-b404-522c-b3b2-23703b4f47d2 | changelog | numpy | numpy | 225 | 1 | * [#28583](https://github.com/numpy/numpy/pull/28583): BUG: avoid deadlocks with C++ shared mutex in dispatch cache
* [#28585](https://github.com/numpy/numpy/pull/28585): TYP: fix typing errors in `_core.strings`
* [#28631](https://github.com/numpy/numpy/pull/28631): MAINT, CI: Update Ubuntu to 22.04 in azure-pipelines... | large_dataset/raw/changelog/numpy_releases/numpy_225.md |
65bce889-31cf-5a72-b224-b42d3d7aa96b | changelog | numpy | numpy | 225 | 2 | * [#28682](https://github.com/numpy/numpy/pull/28682): SIMD: Resolve Highway QSort symbol linking error on aarch32/ASIMD
* [#28683](https://github.com/numpy/numpy/pull/28683): TYP: add missing `"b1"` literals for `dtype[bool]`
* [#28705](https://github.com/numpy/numpy/pull/28705): TYP: Fix false rejection of `NDArray[o... | large_dataset/raw/changelog/numpy_releases/numpy_225.md |
4b6f8226-8723-5778-890a-9235133e850a | changelog | numpy | numpy | 226 | 0 | # NumPy 2.2.6 Release Notes#
Source: https://numpy.org/doc/stable/release/2.2.6-notes.html
Version: 2.2.6
NumPy 2.2.6 is a patch release that fixes bugs found after the 2.2.5 release.
It is a mix of typing fixes/improvements as well as the normal bug
fixes and some CI maintenance.
This release supports Python versio... | large_dataset/raw/changelog/numpy_releases/numpy_226.md |
d8988d80-ebbc-521e-9c02-29ffde3cf329 | changelog | numpy | numpy | 226 | 1 | * [#28852](https://github.com/numpy/numpy/pull/28852): BUG: fix heap buffer overflow in np.strings.find
* [#28853](https://github.com/numpy/numpy/pull/28853): TYP: fix `NDArray[floating] + float` return type
* [#28864](https://github.com/numpy/numpy/pull/28864): BUG: fix stringdtype singleton thread safety
* [#28865](h... | large_dataset/raw/changelog/numpy_releases/numpy_226.md |
8fe992c8-6e5d-5b82-945f-b95e301a3e29 | changelog | numpy | numpy | 230 | 0 | # NumPy 2.3.0 Release Notes#
Source: https://numpy.org/doc/stable/release/2.3.0-notes.html
Version: 2.3.0
The NumPy 2.3.0 release continues the work to improve free threaded Python
support and annotations together with the usual set of bug fixes. It is unusual
in the number of expired deprecations, code modernization... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
8c5d94e5-ad21-5aaf-a210-bcb04596afd2 | changelog | numpy | numpy | 230 | 1 | ## Highlights[#](#highlights "Link to this heading")
* Interactive examples in the NumPy documentation.
* Building NumPy with OpenMP Parallelization.
* Preliminary support for Windows on ARM.
* Improved support for free threaded Python.
* Improved annotations.
## New functions[#](#new-functions "Link to this heading"... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
cbde2eb8-279c-5449-a957-d9bb9dc86e1a | changelog | numpy | numpy | 230 | 2 | ([gh-28129](https://github.com/numpy/numpy/pull/28129))
* The `numpy.typing.NBitBase` type has been deprecated and will be removed in
a future version.
This type was previously intended to be used as a generic upper bound for
type-parameters, for example:
```None
import numpy as np
import numpy.typing a... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
8945502d-e171-56b1-8077-8241d2c7b19c | changelog | numpy | numpy | 230 | 3 | ## Expired deprecations[#](#expired-deprecations "Link to this heading")
* Remove deprecated macros like `NPY_OWNDATA` from Cython interfaces in favor
of `NPY_ARRAY_OWNDATA` (deprecated since 1.7)
([gh-28254](https://github.com/numpy/numpy/pull/28254))
* Remove `numpy/npy_1_7_deprecated_api.h` and C macros like `... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
088633ea-9147-5352-bfd2-16dc2233783b | changelog | numpy | numpy | 230 | 4 | ([gh-28254](https://github.com/numpy/numpy/pull/28254))
* Passing `shape=None` to functions with a non-optional shape argument
errors, use `()` instead (deprecated since 1.20)
([gh-28254](https://github.com/numpy/numpy/pull/28254))
* Inexact matches for `mode` and `searchside` raise (deprecated since 1.20)
([... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
6949932e-123d-5e5a-add6-5d7616183106 | changelog | numpy | numpy | 230 | 5 | attribute must be a dtype-instance rather than a thing that can be parsed as
a dtype instance (deprecated in 1.19). At some point the whole construct of
using a dtype attribute will be deprecated (see #25306)
([gh-28254](https://github.com/numpy/numpy/pull/28254))
* Passing booleans as partition index errors (... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
795bbc0d-0604-5bca-b5fa-faa3de615ac5 | changelog | numpy | numpy | 230 | 6 | ([gh-28254](https://github.com/numpy/numpy/pull/28254))
* Unpickling a scalar with object dtype errors (deprecated since 1.20)
([gh-28254](https://github.com/numpy/numpy/pull/28254))
* The binary mode of `fromstring` now errors, use `frombuffer` instead
(deprecated since 1.14)
([gh-28254](https://github.com/n... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
2ec122bc-a7be-5dd3-b6cb-7ac6930bd385 | changelog | numpy | numpy | 230 | 7 | * Parsing an integer via a float string is no longer supported. (deprecated
since 1.23) To avoid this error you can
\* make sure the original data is stored as integers.
\* use the `converters=float` keyword argument.
\* Use `np.loadtxt(...).astype(np.int64)`
([gh-28254](https://github.com/numpy/numpy/pull/2... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
09ca8037-5c08-5af4-8a75-52678dea29e9 | changelog | numpy | numpy | 230 | 8 | ## C API changes[#](#c-api-changes "Link to this heading")
* `NpyIter_GetTransferFlags` is now available to check if
the iterator needs the Python API or if casts may cause floating point
errors (FPE). FPEs can for example be set when casting `float64(1e300)`
to `float32` (overflow to infinity) or a NaN to an in... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
4be2e191-1087-5d58-aff3-121bdb9d8e97 | changelog | numpy | numpy | 230 | 9 | The `NpyIter_IterationNeedsAPI` function now performs all the checks that were
previously performed at setup time. While it was never necessary to call it
multiple times, doing so will now have a larger cost.
([gh-27998](https://github.com/numpy/numpy/pull/27998))
## New Features[#](#new-features "Link to this headin... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
9dc5a702-9eb7-5a00-bf77-61804dc7205c | changelog | numpy | numpy | 230 | 10 | ### NumPy now registers its pkg-config paths with the [pkgconf](https://github.com/pypackaging-native/pkgconf-pypi) PyPI package[#](#numpy-now-registers-its-pkg-config-paths-with-the-pkgconf-pypi-package "Link to this heading")
The [pkgconf](https://github.com/pypackaging-native/pkgconf-pypi) PyPI package provides an ... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
5c3cdde4-e971-5db9-9115-129016e46861 | changelog | numpy | numpy | 230 | 11 | any other source that does not use the [pkgconf-pypi](https://github.com/pypackaging-native/pkgconf-pypi) project, the NumPy
pkg-config directory will not be automatically added to the search path. In
these situations, you might want to use `numpy-config`.
([gh-28214](https://github.com/numpy/numpy/pull/28214))
### A... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
7c1d5d81-9b95-515c-96bb-83a8f79a64a0 | changelog | numpy | numpy | 230 | 12 | Other functions with an `out=` kwarg should gain support eventually.
Downstream libraries that interoperate via `__array_ufunc__` or
`__array_function__` may need to adapt to support this.
([gh-28576](https://github.com/numpy/numpy/pull/28576))
### Building NumPy with OpenMP Parallelization[#](#building-numpy-with-op... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
27aab75f-4f1f-5375-bbd4-04c08b6824f5 | changelog | numpy | numpy | 230 | 13 | Please note that the examples are currently experimental in
nature and may not work as expected for all methods in the
public API.
([gh-26745](https://github.com/numpy/numpy/pull/26745))
## Improvements[#](#improvements "Link to this heading")
* Scalar comparisons between non-comparable dtypes such as
`np.array(1)... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
25d0fa5f-472e-5038-98f7-321296b6fec5 | changelog | numpy | numpy | 230 | 14 | ([gh-28442](https://github.com/numpy/numpy/pull/28442))
* `np.dtypes.StringDType` is now a
[generic type](https://typing.python.org/en/latest/spec/generics.html) which
accepts a type argument for `na_object` that defaults to `typing.Never`.
For example, `StringDType(na_object=None)` returns a `StringDType[None]... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
38d16aa2-a22c-5b10-97cd-acb0325df000 | changelog | numpy | numpy | 230 | 15 | ### Performance improvements to `np.unique`[#](#performance-improvements-to-np-unique "Link to this heading")
`np.unique` now tries to use a hash table to find unique values instead of
sorting values before finding unique values. This is limited to certain dtypes
for now, and the function is now faster for those dtype... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
e0d14993-37f8-5487-beca-0f884b97cb6b | changelog | numpy | numpy | 230 | 16 | used by setting the OMP\_NUM\_THREADS environment variable.
([gh-28619](https://github.com/numpy/numpy/pull/28619))
### Performance improvements for `np.float16` casts[#](#performance-improvements-for-np-float16-casts "Link to this heading")
Earlier, floating point casts to and from `np.float16` types
were emulated ... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
b5000daf-bec6-5d28-88cb-11fc8e88436b | changelog | numpy | numpy | 230 | 17 | ## Changes[#](#changes "Link to this heading")
* The vector norm `ord=inf` and the matrix norms `ord={1, 2, inf, 'nuc'}`
now always returns zero for empty arrays. Empty arrays have at least one axis
of size zero. This affects `np.linalg.norm`, `np.linalg.vector_norm`, and
`np.linalg.matrix_norm`. Previously, Num... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
ed5f4413-92b5-52a6-8eab-497e826a0ae5 | changelog | numpy | numpy | 230 | 18 | * Printing of `np.float16` and `np.float32` scalars and arrays have been improved by
adjusting the transition to scientific notation based on the floating point precision.
A new legacy `np.printoptions` mode `'2.2'` has been added for backwards compatibility.
([gh-28703](https://github.com/numpy/numpy/pull/28703... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
aa534a4f-316c-5a11-9b5b-3332ece12e88 | changelog | numpy | numpy | 230 | 19 | to improve performance.
([gh-26018](https://github.com/numpy/numpy/pull/26018))
### Changes to the main iterator and potential numerical changes[#](#changes-to-the-main-iterator-and-potential-numerical-changes "Link to this heading")
The main iterator, used in math functions and via `np.nditer` from Python and
`NpyI... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
1bed60ad-dbfe-58e4-afc3-9f48d57c9a79 | changelog | numpy | numpy | 230 | 20 | ### The minimum supported GCC version is now 9.3.0[#](#the-minimum-supported-gcc-version-is-now-9-3-0 "Link to this heading")
The minimum supported version was updated from 8.4.0 to 9.3.0, primarily in
order to reduce the chance of platform-specific bugs in old GCC versions from
causing issues.
([gh-28102](https://gi... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
acb0ce1a-7646-5eea-b194-7c24b28da2ce | changelog | numpy | numpy | 230 | 21 | ### Build manylinux\_2\_28 wheels[#](#build-manylinux-2-28-wheels "Link to this heading")
Wheels for linux systems will use the `manylinux_2_28` tag (instead of the
`manylinux2014` tag), which means dropping support for redhat7/centos7,
amazonlinux2, debian9, ubuntu18.04, and other pre-glibc2.28 operating system
versi... | large_dataset/raw/changelog/numpy_releases/numpy_230.md |
6cee2fe1-0195-51a8-8182-f65be6794843 | changelog | numpy | numpy | 230 | 22 | ### Re-enable overriding functions in the `numpy.strings`[#](#re-enable-overriding-functions-in-the-numpy-strings "Link to this heading")
Re-enable overriding functions in the `numpy.strings` module.
([gh-28741](https://github.com/numpy/numpy/pull/28741))
| large_dataset/raw/changelog/numpy_releases/numpy_230.md |
92e1d3ed-6904-52bd-831f-5bf9c39757af | changelog | numpy | numpy | 231 | 0 | # NumPy 2.3.1 Release Notes#
Source: https://numpy.org/doc/stable/release/2.3.1-notes.html
Version: 2.3.1
The NumPy 2.3.1 release is a patch release with several bug fixes, annotation
improvements, and better support for OpenBSD. Highlights are:
* Fix bug in `matmul` for non-contiguous out kwarg parameter
* Fix for ... | large_dataset/raw/changelog/numpy_releases/numpy_231.md |
b8503616-6855-5137-ac27-81de8967da4f | changelog | numpy | numpy | 231 | 1 | ## Pull requests merged[#](#pull-requests-merged "Link to this heading")
A total of 12 pull requests were merged for this release.
* [#29140](https://github.com/numpy/numpy/pull/29140): MAINT: Prepare 2.3.x for further development
* [#29191](https://github.com/numpy/numpy/pull/29191): BUG: fix matmul with transposed ... | large_dataset/raw/changelog/numpy_releases/numpy_231.md |
8f61e01e-5d1a-5192-a9f0-1e21bc933597 | changelog | numpy | numpy | 231 | 2 | * [#29237](https://github.com/numpy/numpy/pull/29237): BUG: Enforce integer limitation in concatenate (#29231)
* [#29238](https://github.com/numpy/numpy/pull/29238): CI: Add support for building NumPy with LLVM for Win-ARM64
* [#29241](https://github.com/numpy/numpy/pull/29241): ENH: Detect CPU features on OpenBSD ARM ... | large_dataset/raw/changelog/numpy_releases/numpy_231.md |
dd38e01b-4141-5706-a4de-62e6ac825651 | changelog | numpy | numpy | 232 | 0 | # NumPy 2.3.2 Release Notes#
Source: https://numpy.org/doc/stable/release/2.3.2-notes.html
Version: 2.3.2
The NumPy 2.3.2 release is a patch release with a number of bug fixes and
maintenance updates. The highlights are:
* Wheels for Python 3.14.0rc1
* PyPy updated to the latest stable release
* OpenBLAS updated to ... | large_dataset/raw/changelog/numpy_releases/numpy_232.md |
96790be2-9e3e-59f3-b7ac-f89e3043d521 | changelog | numpy | numpy | 232 | 1 | * [#29283](https://github.com/numpy/numpy/pull/29283): TYP: Work around a mypy issue with bool arrays (#29248)
* [#29284](https://github.com/numpy/numpy/pull/29284): BUG: fix fencepost error in StringDType internals
* [#29287](https://github.com/numpy/numpy/pull/29287): BUG: handle case in mapiter where descriptors mig... | large_dataset/raw/changelog/numpy_releases/numpy_232.md |
d40074fc-5c0a-5774-a549-0928a21e7a41 | changelog | numpy | numpy | 232 | 2 | * [#29417](https://github.com/numpy/numpy/pull/29417): BUG: Any dtype should call `square` on `arr \*\* 2` (#29392)
* [#29424](https://github.com/numpy/numpy/pull/29424): MAINT: use a stable pypy release in CI
* [#29425](https://github.com/numpy/numpy/pull/29425): MAINT: Support python 314rc1
* [#29429](https://github.... | large_dataset/raw/changelog/numpy_releases/numpy_232.md |
7fe3817d-556d-52ac-8daf-61168a443876 | changelog | numpy | numpy | 233 | 0 | # NumPy 2.3.3 Release Notes#
Source: https://numpy.org/doc/stable/release/2.3.3-notes.html
Version: 2.3.3
The NumPy 2.3.3 release is a patch release split between a number of maintenance
updates and bug fixes. This release supports Python versions 3.11-3.14. Note
that the 3.14.0 final is currently expected in Oct, 20... | large_dataset/raw/changelog/numpy_releases/numpy_233.md |
909a8184-323e-5328-b051-24fa40debe19 | changelog | numpy | numpy | 233 | 1 | * [#29440](https://github.com/numpy/numpy/pull/29440): MAINT: Prepare 2.3.x for further development.
* [#29446](https://github.com/numpy/numpy/pull/29446): BUG: Fix test\_configtool\_pkgconfigdir to resolve PKG\_CONFIG\_DIR…
* [#29447](https://github.com/numpy/numpy/pull/29447): BLD: allow targeting webassembly without... | large_dataset/raw/changelog/numpy_releases/numpy_233.md |
cf4fe0d8-b7f7-57f7-b93d-d6698a719677 | changelog | numpy | numpy | 233 | 2 | * [#29563](https://github.com/numpy/numpy/pull/29563): BUG: Fix metadata not roundtripping when pickling datetime (#29555)
* [#29587](https://github.com/numpy/numpy/pull/29587): TST: update link and version for Intel SDE download
* [#29593](https://github.com/numpy/numpy/pull/29593): TYP: add `sorted` kwarg to `unique`... | large_dataset/raw/changelog/numpy_releases/numpy_233.md |
c69475fa-f0ea-57fe-bb08-0d5de04f023f | changelog | numpy | numpy | 233 | 3 | * [#29687](https://github.com/numpy/numpy/pull/29687): CI: replace comment-hider action in mypy\_primer workflow
* [#29689](https://github.com/numpy/numpy/pull/29689): BLD: Add missing <unordered\_map> include
* [#29691](https://github.com/numpy/numpy/pull/29691): BUG: use correct input dtype in flatiter assignment
* [... | large_dataset/raw/changelog/numpy_releases/numpy_233.md |
78eb220d-37df-540b-84e1-1656a6459ded | changelog | numpy | numpy | 234 | 0 | # NumPy 2.3.4 Release Notes#
Source: https://numpy.org/doc/stable/release/2.3.4-notes.html
Version: 2.3.4
The NumPy 2.3.4 release is a patch release split between a number of maintenance
updates and bug fixes. This release supports Python versions 3.11-3.14. This
release is based on the Python 3.14.0 final.
## Chang... | large_dataset/raw/changelog/numpy_releases/numpy_234.md |
cc013054-279c-55c2-87da-caa3868787a7 | changelog | numpy | numpy | 234 | 1 | * Joren Hammudoglu
* Maaz +
* Mateusz Sokół
* Matti Picus
* Nathan Goldbaum
* Ralf Gommers
* Riku Sakamoto +
* Sandeep Gupta +
* Sayed Awad
* Sebastian Berg
* Sergey Fedorov +
* Warren Weckesser
* dependabot[bot]
## Pull requests merged[#](#pull-requests-merged "Link to this heading")
A total of 30 pull requests were... | large_dataset/raw/changelog/numpy_releases/numpy_234.md |
c1b00871-4531-5e8b-a5dd-e9aabf612eb3 | changelog | numpy | numpy | 234 | 2 | * [#29788](https://github.com/numpy/numpy/pull/29788): TYP: replace scalar type \_\_init\_\_ with \_\_new\_\_
* [#29790](https://github.com/numpy/numpy/pull/29790): BUG: Fix `dtype` refcount in `__array__` (#29715)
* [#29791](https://github.com/numpy/numpy/pull/29791): TYP: fix method declarations in floating, timedelt... | large_dataset/raw/changelog/numpy_releases/numpy_234.md |
b17ed60b-475f-5960-8453-e17ff9fdcd6b | changelog | numpy | numpy | 234 | 3 | * [#29839](https://github.com/numpy/numpy/pull/29839): BUG: linalg: emit a MemoryError on a malloc failure (#29811)
* [#29840](https://github.com/numpy/numpy/pull/29840): BLD: change file extension for libnpymath on win-arm64 from .a…
* [#29864](https://github.com/numpy/numpy/pull/29864): CI: Fix loongarch64 CI (#29856... | large_dataset/raw/changelog/numpy_releases/numpy_234.md |
5ec60971-a108-5eaa-9c03-12599480baf7 | changelog | numpy | numpy | 234 | 4 | * [#29922](https://github.com/numpy/numpy/pull/29922): TYP: minor fixes related to `errstate` (#29914)
* [#29923](https://github.com/numpy/numpy/pull/29923): TST: use requirements/test\_requirements across CI (#29919)
* [#29926](https://github.com/numpy/numpy/pull/29926): BUG: fix negative samples generated by Wald dis... | large_dataset/raw/changelog/numpy_releases/numpy_234.md |
bbcc78e9-a945-5606-a1f9-fa4196e8d114 | changelog | numpy | numpy | 235 | 0 | # NumPy 2.3.5 Release Notes#
Source: https://numpy.org/doc/stable/release/2.3.5-notes.html
Version: 2.3.5
The NumPy 2.3.5 release is a patch release split between a number of maintenance
updates and bug fixes. This release supports Python versions 3.11-3.14.
## Contributors[#](#contributors "Link to this heading")
... | large_dataset/raw/changelog/numpy_releases/numpy_235.md |
51c575a4-9d74-5987-9ad0-d49c9371bf87 | changelog | numpy | numpy | 235 | 1 | * [#30029](https://github.com/numpy/numpy/pull/30029): MAINT: Backport write\_release.py
* [#30041](https://github.com/numpy/numpy/pull/30041): TYP: Various typing updates
* [#30059](https://github.com/numpy/numpy/pull/30059): BUG: Fix np.strings.slice if stop=None or start and stop >= len…
* [#30063](https://github.co... | large_dataset/raw/changelog/numpy_releases/numpy_235.md |
33a4422f-c3d3-5b0a-8128-bcca218da315 | changelog | numpy | numpy | 235 | 2 | * [#30158](https://github.com/numpy/numpy/pull/30158): DOC: Remove nonexistent `order` parameter docs of `ma.asanyarray`…
* [#30185](https://github.com/numpy/numpy/pull/30185): BUG: Fix check of PyMem\_Calloc return value. (#30176)
* [#30217](https://github.com/numpy/numpy/pull/30217): DOC: fix links for newly rebuilt ... | large_dataset/raw/changelog/numpy_releases/numpy_235.md |
92c2730d-ad3d-5763-a868-e07723a5ca92 | changelog | numpy | numpy | 240 | 0 | # NumPy 2.4.0 Release Notes#
Source: https://numpy.org/doc/stable/release/2.4.0-notes.html
Version: 2.4.0
The NumPy 2.4.0 release continues the work to improve free threaded Python
support, user dtypes implementation, and annotations. There are many expired
deprecations and bug fixes as well.
This release supports P... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
a372511b-44c8-580d-8712-43fa50a791b7 | changelog | numpy | numpy | 240 | 1 | ## Deprecations[#](#deprecations "Link to this heading")
### Setting the `strides` attribute is deprecated[#](#setting-the-strides-attribute-is-deprecated "Link to this heading")
Setting the strides attribute is now deprecated since mutating
an array is unsafe if an array is shared, especially by multiple
threads. As... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
2f63d977-fbcf-5842-b325-99231a29b3cf | changelog | numpy | numpy | 240 | 2 | a deprecation warning, since `c` is treated as the output buffer rather than
a third input.
Always pass the output with the keyword form, e.g. `np.maximum(a, b,
out=c)`. This makes intent clear and simplifies type annotations.
([gh-29052](https://github.com/numpy/numpy/pull/29052))
### `align=` must be passed as boo... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
bbfc4b03-0a6d-5369-9501-d999b63acf5c | changelog | numpy | numpy | 240 | 3 | deprecated. Use `warnings.catch_warnings`, `warnings.filterwarnings`,
`pytest.warns`, or `pytest.filterwarnings` instead.
([gh-29550](https://github.com/numpy/numpy/pull/29550))
### `np.fix` is pending deprecation[#](#np-fix-is-pending-deprecation "Link to this heading")
The `numpy.fix` function will be deprecated i... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
30e842aa-c89d-5160-90c2-07399f03efa0 | changelog | numpy | numpy | 240 | 4 | warning for assignments to `ndarray.shape`.
([gh-30282](https://github.com/numpy/numpy/pull/30282))
### Deprecation of `numpy.lib.user_array.container`[#](#deprecation-of-numpy-lib-user-array-container "Link to this heading")
The `numpy.lib.user_array.container` class is deprecated and will be removed
in a future ve... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
3e4aa94b-0931-5904-99a5-6b60d83e29cd | changelog | numpy | numpy | 240 | 5 | single element from your array before performing this operation.
([gh-29841](https://github.com/numpy/numpy/pull/29841))
### Removed numpy.linalg.linalg and numpy.fft.helper[#](#removed-numpy-linalg-linalg-and-numpy-fft-helper "Link to this heading")
The following were deprecated in NumPy 2.0 and have been moved to ... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
829852d8-f30d-5303-ba8e-f0877a6f924e | changelog | numpy | numpy | 240 | 6 | ### Removed `numpy.in1d`[#](#removed-numpy-in1d "Link to this heading")
`numpy.in1d` has been deprecated since NumPy 2.0 and is now removed in favor of `numpy.isin`.
([gh-29978](https://github.com/numpy/numpy/pull/29978))
### Removed `numpy.ndindex.ndincr()`[#](#removed-numpy-ndindex-ndincr "Link to this heading")
... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
a170674f-325c-5b16-b511-264a450b9902 | changelog | numpy | numpy | 240 | 7 | ### Removal of four undocumented `ndarray.ctypes` methods[#](#removal-of-four-undocumented-ndarray-ctypes-methods "Link to this heading")
Four undocumented methods of the `ndarray.ctypes` object have been removed:
* `_ctypes.get_data()` (use `_ctypes.data` instead)
* `_ctypes.get_shape()` (use `_ctypes.shape` instead... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
6c965ed0-df2f-572e-a676-6207c190e44e | changelog | numpy | numpy | 240 | 8 | ### Removal of deprecated functions and arguments[#](#removal-of-deprecated-functions-and-arguments "Link to this heading")
The following long-deprecated APIs have been removed:
* `numpy.trapz` — deprecated since NumPy 2.0 (2023-08-18). Use `numpy.trapezoid` or
`scipy.integrate` functions instead.
* `disp` function... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
42e546d1-79b6-5ef0-93a1-6166a34921d2 | changelog | numpy | numpy | 240 | 9 | ### `numpy.array2string` and `numpy.sum` deprecations finalized[#](#numpy-array2string-and-numpy-sum-deprecations-finalized "Link to this heading")
The following long-deprecated APIs have been removed or converted to errors:
* The `style` parameter has been removed from `numpy.array2string`.
This argument had no ef... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
3ae34fcd-bc1f-5372-bc1b-8b2db4a373e8 | changelog | numpy | numpy | 240 | 10 | the side-effect that deleting `numpy` from `sys.modules` and re-importing
it will now fail with an `ImportError`. This has always been unsafe, with
unexpected side-effects, though did not previously raise an error.
([gh-29030](https://github.com/numpy/numpy/pull/29030))
* `numpy.round` now always returns a cop... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
6e6454e6-1696-5147-aae5-23aaa934fa05 | changelog | numpy | numpy | 240 | 11 | the `npy_cpu.h` file, so might be regarded as semi public. As it turns out,
with modern compilers and hardware it is almost always the case that
alignment is required, so numpy no longer uses the macro. It is unlikely
anyone uses it, but you might want to compile with the `-Wundef` flag or
equivalent to be su... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
bc749714-e44a-50bd-91ac-9823d26c5ed8 | changelog | numpy | numpy | 240 | 12 | * `NPY_SORT_DESCENDING` – the sort must be descending
The semantic change is that `NPY_HEAPSORT` is mapped to `NPY_QUICKSORT` when used.
Note that `NPY_SORT_DESCENDING` is not yet implemented.
([gh-29642](https://github.com/numpy/numpy/pull/29642))
### New `NPY_DT_get_constant` slot for DType constant retrieval[#](#... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
1c48fa71-7831-5ec3-9ba4-4558b201f851 | changelog | numpy | numpy | 240 | 13 | Implementing this can be used by user DTypes to provide `numpy.finfo` values.
([gh-29836](https://github.com/numpy/numpy/pull/29836))
### A new `PyUFunc_AddLoopsFromSpecs` convenience function has been added to the C API.[#](#a-new-pyufunc-addloopsfromspecs-convenience-function-has-been-added-to-the-c-api "Link to th... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
9916640f-8221-5e1a-89e1-bb5aa682b7d9 | changelog | numpy | numpy | 240 | 14 | ### `'same_value'` for casting by value[#](#same-value-for-casting-by-value "Link to this heading")
The `casting` kwarg now has a `'same_value'` option that checks the actual
values can be round-trip cast without changing value. Currently it is only
implemented in `ndarray.astype`. This will raise a `ValueError` if an... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
dc9884bc-9645-5607-8440-fc0446434597 | changelog | numpy | numpy | 240 | 15 | and was implemented in pull request [gh‑29423](https://github.com/numpy/numpy/pull/29423).
([gh-29423](https://github.com/numpy/numpy/pull/29423))
### `ndmax` option for `numpy.array`[#](#ndmax-option-for-numpy-array "Link to this heading")
The `ndmax` option is now available for `numpy.array`.
It explicitly limits ... | large_dataset/raw/changelog/numpy_releases/numpy_240.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.