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
892eb17b-b73e-556d-b202-8fb81b2afd65
changelog
mysql
mysql
848
2
capacity used. The `MONITOR` output has been enhanced to include redo log capacity details and current log capacity. The warning `ER_IB_WRN_REDO_DISABLED` was removed, as was the error `ER_IB_MSG_LOG_WRITER_WAIT_ON_NEW_LOG_FILE`. (Bug #37645185) * Fixed an issue related to bulk inserts. (Bug #38208188)...
large_dataset/raw/changelog/mysql_releases/mysql_848.md
cc3b6fc6-564f-52aa-9b39-1e72e696e288
changelog
mysql
mysql
848
3
### Pluggable Authentication * Connecting to a MySQL server with a non-existing user now consistently returns an "Access denied for user" error message, regardless of the username length or MySQL version. Previously, errors were returned similar to the following: ```None ERROR 1045 (28000): Access d...
large_dataset/raw/changelog/mysql_releases/mysql_848.md
4c8ab45d-23c8-5ba0-a3fa-dac7d4712257
changelog
mysql
mysql
848
4
(Bug #38554467) * When 2 of 6 instances in a geographically dispersed InnoDB Cluster lost connectivity, the primary server became unresponsive, causing the `COMMIT` and `INSERT` operations to become unresponsive as well. (Bug #38380392) * **mysqldump**'s `--order-by-primary` option sorted data by every ...
large_dataset/raw/changelog/mysql_releases/mysql_848.md
63b4aedf-2af6-59b5-9078-77292add8070
changelog
numpy
numpy
200
0
# NumPy 2.0.0 Release Notes# Source: https://numpy.org/doc/stable/release/2.0.0-notes.html Version: 2.0.0 NumPy 2.0.0 is the first major release since 2006. It is the result of 11 months of development since the last feature release and is the work of 212 contributors spread over 1078 pull requests. It contains a lar...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
4a689388-87b9-5498-ad3c-8df0664d3271
changelog
numpy
numpy
200
1
[For downstream package authors](../dev/depending_on_numpy.html#for-downstream-package-authors) ## Highlights[#](#highlights "Link to this heading") Highlights of this release include: * New features: + A new variable-length string dtype, [`StringDType`](../reference/routines.dtypes.html#numpy.dtypes.StringDTyp...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
a32171a6-3127-5108-acd2-a87a60ddcab6
changelog
numpy
numpy
200
2
+ Sorting functions ([`sort`](../reference/generated/numpy.sort.html#numpy.sort "numpy.sort"), [`argsort`](../reference/generated/numpy.argsort.html#numpy.argsort "numpy.argsort"), [`partition`](../reference/generated/numpy.partition.html#numpy.partition "numpy.partition"), [`argpartition`](../reference/generated/num...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
f01fdf49-7911-5289-b264-492e4faa09f9
changelog
numpy
numpy
200
3
addition to the fixed-length string dtypes, + A new tracing and introspection API, [`opt_func_info`](../reference/generated/numpy.lib.introspect.opt_func_info.html#numpy.lib.introspect.opt_func_info "numpy.lib.introspect.opt_func_info"), to determine which hardware-specific kernels are available and will be ...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
93803903-8e50-5623-b280-15d88f857160
changelog
numpy
numpy
200
4
namespace decreased by ~10% and in `numpy.lib` by ~80%, + [Canonical dtype names](../user/basics.types.html#canonical-python-and-c-types) and a new [`isdtype`](../reference/generated/numpy.isdtype.html#numpy.isdtype "numpy.isdtype") introspection function, * C API improvements: + A new [public C API for cr...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
140a80ff-4e88-5225-86d6-f8747223a658
changelog
numpy
numpy
200
5
previously often depended on data values of input arrays rather than only their dtypes. Please see the NEP and the [NumPy 2.0 migration guide](../numpy_2_0_migration_guide.html#numpy-2-migration-guide) for details as this change can lead to changes in output dtypes and lower precision results for mixed-...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
7bd3ecbc-07fa-5d55-9f3c-a45526e11c1a
changelog
numpy
numpy
200
6
NumPy in the future. The “no free lunch” theorem dictates that there is a price to pay for all these API and behavior improvements and better future extensibility. This price is: 1. Backwards compatibility. There are a significant number of breaking changes to both the Python and C APIs. In the majority of cases, ...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
59f7f44b-08ff-5ea4-b5ee-4e550458af23
changelog
numpy
numpy
200
7
with a message about binary incompatibility. It is possible to build binaries against NumPy 2.0 that will work at runtime with both NumPy 2.0 and 1.x. See [NumPy 2.0-specific advice](../dev/depending_on_numpy.html#numpy-2-abi-handling) for more details. **All downstream packages that depend on the NumPy A...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
48d48c44-58e4-51d2-8a76-2f1dfa4fe9f8
changelog
numpy
numpy
200
8
* `np.cast` has been removed. The literal replacement for `np.cast[dtype](arg)` is `np.asarray(arg, dtype=dtype)`. * `np.source` has been removed. The preferred replacement is `inspect.getsource`. * `np.lookfor` has been removed. ([gh-24144](https://github.com/numpy/numpy/pull/24144)) * `numpy.who` has been remo...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
28d0299a-592d-5a21-94f1-f40175ef24e5
changelog
numpy
numpy
200
9
[`VisibleDeprecationWarning`](../reference/generated/numpy.exceptions.VisibleDeprecationWarning.html#numpy.exceptions.VisibleDeprecationWarning "numpy.exceptions.VisibleDeprecationWarning")) are no longer exposed in the main namespace. * Multiple niche enums, expired members and functions have been removed from t...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
eafcfea8-0e95-5f35-9ae6-19201417bfb8
changelog
numpy
numpy
200
10
([gh-24357](https://github.com/numpy/numpy/pull/24357)) * Alias `np.float_` has been removed. Use `np.float64` instead. * Alias `np.complex_` has been removed. Use `np.complex128` instead. * Alias `np.longfloat` has been removed. Use `np.longdouble` instead. * Alias `np.singlecomplex` has been removed. Use `np.comple...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
12dd599a-8cb5-5e92-aa88-aa24acd089dd
changelog
numpy
numpy
200
11
* `np.issubclass_` has been removed. Use the `issubclass` builtin instead. * `np.asfarray` has been removed. Use `np.asarray` with a proper dtype instead. * `np.set_string_function` has been removed. Use `np.set_printoptions` instead with a formatter for custom printing of NumPy objects. * `np.tracemalloc_domain` is ...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
970e0459-5483-5298-a252-ae3b6b31c036
changelog
numpy
numpy
200
12
* `np.find_common_type` has been removed. Use `numpy.promote_types` or `numpy.result_type` instead. To achieve semantics for the `scalar_types` argument, use `numpy.result_type` and pass `0`, `0.0`, or `0j` as a Python scalar instead. * `np.round_` has been removed. Use `np.round` instead. * `np.nbytes` has been ...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
7e3c0216-869c-5231-b060-3dfd5fa05814
changelog
numpy
numpy
200
13
`int0`, `uint0`, `void0`, `object0`, `str0`, `bytes0` and `bool8`. ([gh-24807](https://github.com/numpy/numpy/pull/24807)) * The experimental `numpy.array_api` submodule has been removed. Use the main `numpy` namespace for regular usage instead, or the separate `array-api-strict` package for the compliance tes...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
312f4c28-28e0-5374-8650-cf411fb37421
changelog
numpy
numpy
200
14
now be passed a base class, rather than a subclass array. ([gh-25105](https://github.com/numpy/numpy/pull/25105)) ## Deprecations[#](#deprecations "Link to this heading") * `np.compat` has been deprecated, as Python 2 is no longer supported. * `numpy.int8` and similar classes will no longer support conversion of o...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
d22beff8-7759-55a4-a649-93e7d64aed63
changelog
numpy
numpy
200
15
* `np.trapz` has been deprecated. Use `np.trapezoid` or a `scipy.integrate` function instead. * `np.in1d` has been deprecated. Use `np.isin` instead. * Alias `np.row_stack` has been deprecated. Use `np.vstack` directly. ([gh-24445](https://github.com/numpy/numpy/pull/24445)) * `__array_wrap__` is now passed `arr, co...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
9cba1c9f-0cab-59c6-88ab-2429a08631d9
changelog
numpy
numpy
200
16
`assert_array_equal` and `assert_array_almost_equal` has been deprecated. Pass the first two arguments as positional arguments instead. ([gh-24978](https://github.com/numpy/numpy/pull/24978)) ### `numpy.fft` deprecations for n-D transforms with None values in arguments[#](#numpy-fft-deprecations-for-n-d-transfo...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
41bd544c-e64a-547f-b6e6-711d6026d93c
changelog
numpy
numpy
200
17
the default for its `n` parameter. To use the default behaviour for every axis, the `s` argument can be omitted. ([gh-25495](https://github.com/numpy/numpy/pull/25495)) ### `np.linalg.lstsq` now defaults to a new `rcond` value[#](#np-linalg-lstsq-now-defaults-to-a-new-rcond-value "Link to this heading") [`lstsq`](.....
large_dataset/raw/changelog/numpy_releases/numpy_200.md
bfc58830-544b-57b2-95fc-dd4b7e51b972
changelog
numpy
numpy
200
18
* The `PyDataMem_SetEventHook` deprecation has expired and it is removed. Use `tracemalloc` and the `np.lib.tracemalloc_domain` domain. (Deprecated in NumPy 1.23) ([gh-23921](https://github.com/numpy/numpy/pull/23921)) * The deprecation of `set_numeric_ops` and the C functions `PyArray_SetNumericOps` and `PyAr...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
ea7663b0-36c5-5579-93bb-218d1468d8fd
changelog
numpy
numpy
200
19
rather than a non-subarray one. ([gh-25761](https://github.com/numpy/numpy/pull/25761)) * Assigning to the `.data` attribute of an ndarray is disallowed and will raise. * `np.binary_repr(a, width)` will raise if width is too small. * Using `NPY_CHAR` in `PyArray_DescrFromType()` will raise, use `NPY_STRING` `N...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
2446c38e-6be4-5ecd-a04a-443bd8472596
changelog
numpy
numpy
200
20
### `f2py` compatibility notes[#](#f2py-compatibility-notes "Link to this heading") * `f2py` will no longer accept ambiguous `-m` and `.pyf` CLI combinations. When more than one `.pyf` file is passed, an error is raised. When both `-m` and a `.pyf` is passed, a warning is emitted and the `-m` provided name is ig...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
178dd125-390b-58fd-8583-830da53b08bc
changelog
numpy
numpy
200
21
environment variables to interact with `meson`. [Native files](https://mesonbuild.com/Machine-files.html) are also an option. ([gh-25193](https://github.com/numpy/numpy/pull/25193)) ### Minor changes in behavior of sorting functions[#](#minor-changes-in-behavior-of-sorting-functions "Link to this heading") Due t...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
a29e3e46-acfe-5a88-b3a6-be6ecc86b48c
changelog
numpy
numpy
200
22
way and is now compliant with the Array API. The old behaviour can be reconstructed by using `np.solve(a, b[..., None])[..., 0]`. ([gh-25914](https://github.com/numpy/numpy/pull/25914)) ### Modified representation for `Polynomial`[#](#modified-representation-for-polynomial "Link to this heading") The representation ...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
6dc3364e-ecc6-539f-92a2-eebfe46da87a
changelog
numpy
numpy
200
23
## C API changes[#](#c-api-changes "Link to this heading") * The `PyArray_CGT`, `PyArray_CLT`, `PyArray_CGE`, `PyArray_CLE`, `PyArray_CEQ`, `PyArray_CNE` macros have been removed. * `PyArray_MIN` and `PyArray_MAX` have been moved from `ndarraytypes.h` to `npy_math.h`. ([gh-24258](https://github.com/numpy/numpy/...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
033a905c-c5fd-507a-9935-6b7b64a7e763
changelog
numpy
numpy
200
24
of the array accessors (previously this depended on using “deprecated API”). While we discourage it, the struct fields can still be used directly. ([gh-25789](https://github.com/numpy/numpy/pull/25789)) * NumPy now defines [`PyArray_Pack`](../reference/c-api/array.html#c.PyArray_Pack "PyArray_Pack") to set an in...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
13387466-3aa6-569d-96cd-47616123a90f
changelog
numpy
numpy
200
25
NumPy API table to be used and are no longer defined in `ndarraytypes.h`. ([gh-25812](https://github.com/numpy/numpy/pull/25812)) * Due to runtime dependencies, the definition for functionality accessing the dtype flags was moved from `numpy/ndarraytypes.h` and is only available after including `numpy/ndarrayo...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
7eeab70d-a4ea-56ae-b003-c376c1bda4f1
changelog
numpy
numpy
200
26
### Datetime functionality exposed in the C API and Cython bindings[#](#datetime-functionality-exposed-in-the-c-api-and-cython-bindings "Link to this heading") The functions `NpyDatetime_ConvertDatetime64ToDatetimeStruct`, `NpyDatetime_ConvertDatetimeStructToDatetime64`, `NpyDatetime_ConvertPyDateTimeToDatetimeStruct`...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
6d9e4099-88d5-5e04-ab30-eaa338c357ef
changelog
numpy
numpy
200
27
arguments that are not modified by NumPy’s internals. Like the `name` and `doc` arguments, third-party Python extension modules are likely to supply these arguments from static constants. The `types` and `data` arguments are now const-correct: they are declared as `const char *types` and `void *const *data`, respective...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
4c4c8b55-b708-5c7a-9e74-398f61eb8054
changelog
numpy
numpy
200
28
replaced with `NPY_RAVEL_AXIS`. See also [Increased maximum number of dimensions](../numpy_2_0_migration_guide.html#migration-maxdims). ([gh-25149](https://github.com/numpy/numpy/pull/25149)) ### `NPY_MAXARGS` not constant and `PyArrayMultiIterObject` size change[#](#npy-maxargs-not-constant-and-pyarraymultiiterobjec...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
c982aa35-65d2-5f64-977b-7c2f5b0fd8e7
changelog
numpy
numpy
200
29
### Required changes for custom legacy user dtypes[#](#required-changes-for-custom-legacy-user-dtypes "Link to this heading") In order to improve our DTypes it is unfortunately necessary to break the ABI, which requires some changes for dtypes registered with `PyArray_RegisterDataType`. Please see the documentation of...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
609ab334-f317-5d9b-a90c-02b57b8106f5
changelog
numpy
numpy
200
30
feature, please report any bugs you run into implementing or using a new DType. It is likely that downstream C code that works with dtypes will need to be updated to work correctly with new DTypes. ([gh-25754](https://github.com/numpy/numpy/pull/25754)) ### New C-API import functions[#](#new-c-api-import-functions "L...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
404edf86-34b9-5e18-8dd3-baa12ca8c671
changelog
numpy
numpy
200
31
### Structured dtype information access through functions[#](#structured-dtype-information-access-through-functions "Link to this heading") The dtype structures fields `c_metadata`, `names`, `fields`, and `subarray` must now be accessed through new functions following the same names, such as `PyDataType_NAMES`. Direct...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
a98d35f7-2dee-5366-ad18-3eadf61cecd2
changelog
numpy
numpy
200
32
Please see [The PyArray\_Descr struct has been changed](../numpy_2_0_migration_guide.html#migration-c-descr) for more information. ([gh-25943](https://github.com/numpy/numpy/pull/25943)) ## NumPy 2.0 C API removals[#](#numpy-2-0-c-api-removals "Link to this heading") * `npy_interrupt.h` and the corresponding macros ...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
6793dea3-ed97-5ff0-b7db-48a1f421944e
changelog
numpy
numpy
200
33
functions would have made `with np.errstate()` fixes much more difficult). ([gh-23922](https://github.com/numpy/numpy/pull/23922)) * The `numpy/old_defines.h` which was part of the API deprecated since NumPy 1.7 has been removed. This removes macros of the form `PyArray_CONSTANT`. The [replace\_old\_macros.sed...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
e2f69abb-1dcb-5d18-b5ba-9d45e4fe8ed8
changelog
numpy
numpy
200
34
The (truly) public part of it was not well tested and had only one known user (Theano). Making it private will simplify improvements to speed up `ufunc.at`, make advanced indexing more maintainable, and was important for increasing the maximum number of dimensions of arrays to 64. Please let us know if this A...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
2fbbe906-0a5d-5eaa-8fa1-f94451bef107
changelog
numpy
numpy
200
35
use `PyArray_CopyInto` and if absolutely needed `PyArray_CopyAnyInto` (the latter does a flat copy). * `PyArray_FillObjectArray` is removed, its only true use was for implementing `np.empty`. Create a new empty array or use `PyArray_FillWithScalar()` (decrefs existing objects). * `PyArray_CompareUCS4` and `PyAr...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
ee68d7ae-8e90-5343-83d8-3de08f0fa0e7
changelog
numpy
numpy
200
36
do anything since at least NumPy 1.7. ([gh-25802](https://github.com/numpy/numpy/pull/25802)) * `PyArray_GetCastFunc` is removed. Note that custom legacy user dtypes can still provide a castfunc as their implementation, but any access to them is now removed. The reason for this is that NumPy never used these ...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
66cd6d7f-0965-5d3f-b808-c6086acc255e
changelog
numpy
numpy
200
37
### A new `bitwise_count` function[#](#a-new-bitwise-count-function "Link to this heading") This new function counts the number of 1-bits in a number. [`bitwise_count`](../reference/generated/numpy.bitwise_count.html#numpy.bitwise_count "numpy.bitwise_count") works on all the numpy integer types and integer-like objec...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
5edf6f22-b9c6-5184-9e92-6b34419aba0c
changelog
numpy
numpy
200
38
explicit BLAS library selection is done, the 13.3+ version will automatically be used if available. ([gh-24053](https://github.com/numpy/numpy/pull/24053)) Binary wheels are also available. On macOS >=14.0, users who install NumPy from PyPI will get wheels built against Accelerate rather than OpenBLAS. ([gh-25255](h...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
ead9cbd8-809a-505f-ae1f-78ca0985b022
changelog
numpy
numpy
200
39
([gh-24254](https://github.com/numpy/numpy/pull/24254)) ### Improved CPU optimization tracking[#](#improved-cpu-optimization-tracking "Link to this heading") A new tracer mechanism is available which enables tracking of the enabled targets for each optimized function (i.e., that uses hardware-specific SIMD instructio...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
acb3b64f-576b-548c-a926-307c4ea1dcda
changelog
numpy
numpy
200
40
### A new Meson backend for `f2py`[#](#a-new-meson-backend-for-f2py "Link to this heading") `f2py` in compile mode (i.e. `f2py -c`) now accepts the `--backend meson` option. This is the default option for Python >=3.12. For older Python versions, `f2py` will still default to `--backend distutils`. To support this in ...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
ace1c936-9661-5611-bc7f-28b7978bf0bc
changelog
numpy
numpy
200
41
honored by the `f2py` bindings by design, since `bind(c)` with the `name` is meant to guarantee only the same name in C and Fortran, not in Python and Fortran. ([gh-24555](https://github.com/numpy/numpy/pull/24555)) ### A new `strict` option for several testing functions[#](#a-new-strict-option-for-several-testing-fu...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
ddc40b54-c98c-5b03-9416-e4fe558009c9
changelog
numpy
numpy
200
42
[gh-24770](https://github.com/numpy/numpy/pull/24770), [gh-24775](https://github.com/numpy/numpy/pull/24775)) ### Add `np.core.umath.find` and `np.core.umath.rfind` UFuncs[#](#add-np-core-umath-find-and-np-core-umath-rfind-ufuncs "Link to this heading") Add two `find` and `rfind` UFuncs that operate on unicode or byt...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
bcd0b239-b4a4-5522-843a-a3a52d37e0c9
changelog
numpy
numpy
200
43
[`numpy.trace`](../reference/generated/numpy.trace.html#numpy.trace "numpy.trace"). They differ in the default axis selection which define 2-D sub-arrays. ([gh-24887](https://github.com/numpy/numpy/pull/24887)) ### New `long` and `ulong` dtypes[#](#new-long-and-ulong-dtypes "Link to this heading") [`numpy.long`](../...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
d7f1237d-1ec1-5e33-adb3-b39d6054d93a
changelog
numpy
numpy
200
44
`np.svd(x, compute_uv=False, hermitian=False)`. This function is compatible with the array API standard. ([gh-24940](https://github.com/numpy/numpy/pull/24940)) ### A new `isdtype` function[#](#a-new-isdtype-function "Link to this heading") [`numpy.isdtype`](../reference/generated/numpy.isdtype.html#numpy.isdtype "n...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
97f1a9fd-6032-522a-bfd1-5a46be0654e2
changelog
numpy
numpy
200
45
### Array API compatible functions’ aliases[#](#array-api-compatible-functions-aliases "Link to this heading") 13 aliases for existing functions were added to improve compatibility with the array API standard: * Trigonometry: `acos`, `acosh`, `asin`, `asinh`, `atan`, `atanh`, `atan2`. * Bitwise: `bitwise_left_shift`,...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
d3964996-1ba0-590f-90b3-25c2299abf81
changelog
numpy
numpy
200
46
and [`unique_values`](../reference/generated/numpy.unique_values.html#numpy.unique_values "numpy.unique_values") functions have been added. They provide functionality of [`unique`](../reference/generated/numpy.unique.html#numpy.unique "numpy.unique") with different sets of flags. They are array API standard-compatible,...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
8d6ca41b-fd0b-5748-93d8-9327dafea59c
changelog
numpy
numpy
200
47
`.mT` attribute, and there is a matching new [`numpy.matrix_transpose`](../reference/generated/numpy.matrix_transpose.html#numpy.matrix_transpose "numpy.matrix_transpose") function. ([gh-23762](https://github.com/numpy/numpy/pull/23762)) ### Array API compatible functions for `numpy.linalg`[#](#array-api-compatible-f...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
d531d3e8-5230-538b-9e2f-c75051142ea9
changelog
numpy
numpy
200
48
* [`numpy.vecdot`](../reference/generated/numpy.vecdot.html#numpy.vecdot "numpy.vecdot") - Computes the (vector) dot product of two arrays. * [`numpy.linalg.vecdot`](../reference/generated/numpy.linalg.vecdot.html#numpy.linalg.vecdot "numpy.linalg.vecdot") - An alias for [`numpy.vecdot`](../reference/generated/numpy.ve...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
ba09f8b1-e215-5d19-9650-deec99861c9d
changelog
numpy
numpy
200
49
vectors. It differs from [`numpy.outer`](../reference/generated/numpy.outer.html#numpy.outer "numpy.outer") by accepting one-dimensional arrays only. This function is compatible with the array API standard. ([gh-25101](https://github.com/numpy/numpy/pull/25101)) * [`numpy.linalg.cross`](../reference/generated/nu...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
8f49e53a-be4f-5b4a-8892-2ee000b1774c
changelog
numpy
numpy
200
50
A `correction` argument was added to [`var`](../reference/generated/numpy.var.html#numpy.var "numpy.var") and [`std`](../reference/generated/numpy.std.html#numpy.std "numpy.std"), which is an array API standard compatible alternative to `ddof`. As both arguments serve a similar purpose, only one of them can be provided...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
57ff53d5-cfa0-59ff-9483-3cba140ca1cb
changelog
numpy
numpy
200
51
[`asarray`](../reference/generated/numpy.asarray.html#numpy.asarray "numpy.asarray"), [`arange`](../reference/generated/numpy.arange.html#numpy.arange "numpy.arange"), [`empty`](../reference/generated/numpy.empty.html#numpy.empty "numpy.empty"), [`empty_like`](../reference/generated/numpy.empty_like.html#numpy.empty_li...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
0def75fa-1446-5b87-a595-f9ba8d57dfd6
changelog
numpy
numpy
200
52
For all these new arguments, only `device="cpu"` is supported. ([gh-25233](https://github.com/numpy/numpy/pull/25233)) ### StringDType has been added to NumPy[#](#stringdtype-has-been-added-to-numpy "Link to this heading") We have added a new variable-width UTF-8 encoded string data type, implementing a “NumPy array...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
d30dccc2-3e64-577f-9da1-2fc0efd27600
changelog
numpy
numpy
200
53
[`numpy.linalg.pinv`](../reference/generated/numpy.linalg.pinv.html#numpy.linalg.pinv "numpy.linalg.pinv"), respectively, to improve array API standard compatibility. For [`pinv`](../reference/generated/numpy.linalg.pinv.html#numpy.linalg.pinv "numpy.linalg.pinv"), if neither `rcond` nor `rtol` is specified, the `rcon...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
2af43b26-0e3c-5899-b716-a586b6198a11
changelog
numpy
numpy
200
54
([gh-25437](https://github.com/numpy/numpy/pull/25437)) ### New `numpy.strings` namespace for string ufuncs[#](#new-numpy-strings-namespace-for-string-ufuncs "Link to this heading") NumPy now implements some string operations as ufuncs. The old `np.char` namespace is still available, and where possible the string man...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
d71ac929-df3f-5d61-bd33-74546fa909ea
changelog
numpy
numpy
200
55
float, double, or long double precision, depending on the input precision, instead of always calculating in double precision. Hence, the calculation will now be less precise for single and more precise for long double precision. The data type of the output array will now be adjusted accordingly. Furthermore, all FFT r...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
f2544313-91c7-5d81-89a2-e2e06b65df2b
changelog
numpy
numpy
200
56
### Array API standard support in the main namespace[#](#array-api-standard-support-in-the-main-namespace "Link to this heading") The main `numpy` namespace now supports the array API standard. See [Array API standard compatibility](../reference/array_api.html#array-api-standard-compatibility) for details. ([gh-25911...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
90bf0974-992f-5e51-8e84-4231dd61540e
changelog
numpy
numpy
200
57
types of tuple and int could be used without raising an error. ([gh-23729](https://github.com/numpy/numpy/pull/23729)) ### `errstate` is now faster and context safe[#](#errstate-is-now-faster-and-context-safe "Link to this heading") The [`numpy.errstate`](../reference/generated/numpy.errstate.html#numpy.errstate "nu...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
01554742-57cc-51e1-900f-5801790d2547
changelog
numpy
numpy
200
58
### Complex types - underlying C type changes[#](#complex-types-underlying-c-type-changes "Link to this heading") * The underlying C types for all of NumPy’s complex types have been changed to use C99 complex types. * While this change does not affect the memory layout of complex types, it changes the API to be us...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
55db3992-f46b-5098-a75d-901670a91cf4
changelog
numpy
numpy
200
59
* `numpy/npy_common.h` now includes `complex.h`, which means that `complex` is now a reserved keyword. ([gh-24085](https://github.com/numpy/numpy/pull/24085)) ### `iso_c_binding` support and improved common blocks for `f2py`[#](#iso-c-binding-support-and-improved-common-blocks-for-f2py "Link to this heading") Prev...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
cc5c3f96-dc36-5c00-8d64-e8ae380da719
changelog
numpy
numpy
200
60
### Call `str` automatically on third argument to functions like `assert_equal`[#](#call-str-automatically-on-third-argument-to-functions-like-assert-equal "Link to this heading") The third argument to functions like [`assert_equal`](../reference/generated/numpy.testing.assert_equal.html#numpy.testing.assert_equal "nu...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
f8a34af9-89ee-5981-84b9-aabead1a7779
changelog
numpy
numpy
200
61
to the shapes of the first two array arguments. ([gh-24878](https://github.com/numpy/numpy/pull/24878)) ### Consistent failure messages in test functions[#](#consistent-failure-messages-in-test-functions "Link to this heading") Previously, some [`numpy.testing`](../reference/routines.testing.html#module-numpy.testin...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
df8f093b-2ad9-57ae-86d9-406ae1ef891e
changelog
numpy
numpy
200
62
[`irfftn`](../reference/generated/numpy.fft.irfftn.html#numpy.fft.irfftn "numpy.fft.irfftn"), [`fft2`](../reference/generated/numpy.fft.fft2.html#numpy.fft.fft2 "numpy.fft.fft2"), [`ifft2`](../reference/generated/numpy.fft.ifft2.html#numpy.fft.ifft2 "numpy.fft.ifft2"), [`rfft2`](../reference/generated/numpy.fft.rfft2.h...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
405244c9-b58c-5cdc-988f-38c67b627ae0
changelog
numpy
numpy
200
63
([gh-25531](https://github.com/numpy/numpy/pull/25531)) ## Changes[#](#changes "Link to this heading") * `np.gradient()` now returns a tuple rather than a list making the return value immutable. ([gh-23861](https://github.com/numpy/numpy/pull/23861)) * Being fully context and thread-safe, `np.errstate` can only ...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
57c31190-2880-54ad-837c-816c7463d2c5
changelog
numpy
numpy
200
64
and make [`numpy.bool_`](../reference/arrays.scalars.html#numpy.bool_ "numpy.bool_") an alias to it. Note that until NumPy 1.24, `np.bool` was an alias to Python’s builtin `bool`. The new name helps with array API standard compatibility and is a more intuitive name. ([gh-25080](https://github.com/numpy/numpy/p...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
e6448724-c06d-5fdf-b670-8f89ed9b09d6
changelog
numpy
numpy
200
65
updated to include the type information to avoid confusion with Python scalars. Scalars are now printed as `np.float64(3.0)` rather than just `3.0`. This may disrupt workflows that store representations of numbers (e.g., to files) making it harder to read them. They should be stored as explicit strings, for example by...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
02f96b0a-057c-54ba-ae6b-0eae4e70cca8
changelog
numpy
numpy
200
66
match the one used by Python. Strings are now considered `True` when they are non-empty and `False` when they are empty. This changes the following distinct cases: * Casts from string to boolean were previously roughly equivalent to `string_array.astype(np.int64).astype(bool)`, meaning that only valid integers cou...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
4f04bc58-148c-5169-9227-9cea0167a8f0
changelog
numpy
numpy
200
67
However, if `np.bool_` is used as a converter the result will change. The change does affect `np.fromregex` as it uses direct assignments. ([gh-23871](https://github.com/numpy/numpy/pull/23871)) ### A `mean` keyword was added to var and std function[#](#a-mean-keyword-was-added-to-var-and-std-function "Link to this ...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
95d457e0-602e-5339-9cc2-b0eb3ee34746
changelog
numpy
numpy
200
68
### Remove datetime64 deprecation warning when constructing with timezone[#](#remove-datetime64-deprecation-warning-when-constructing-with-timezone "Link to this heading") The [`numpy.datetime64`](../reference/arrays.scalars.html#numpy.datetime64 "numpy.datetime64") method now issues a UserWarning rather than a Deprec...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
f9f32b26-249c-5f7c-bdc5-6b04d942db2f
changelog
numpy
numpy
200
69
([gh-24224](https://github.com/numpy/numpy/pull/24224)) ### Renamed `numpy.core` to `numpy._core`[#](#renamed-numpy-core-to-numpy-core "Link to this heading") Accessing `numpy.core` now emits a DeprecationWarning. In practice we have found that most downstream usage of `numpy.core` was to access functionality that is...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
7c92257f-9cf2-5d0d-85bc-f51de54e6def
changelog
numpy
numpy
200
70
`-Drelaxed-strides-debug` config-settings flag has been removed. ([gh-24717](https://github.com/numpy/numpy/pull/24717)) ### Redefinition of `np.intp`/`np.uintp` (almost never a change)[#](#redefinition-of-np-intp-np-uintp-almost-never-a-change "Link to this heading") Due to the actual use of these types almost alwa...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
22fd9062-a047-56d2-9f5e-89754d5d3b39
changelog
numpy
numpy
200
71
to `npy_intp` typed arguments. ([gh-24888](https://github.com/numpy/numpy/pull/24888)) ### `numpy.fft.helper` made private[#](#numpy-fft-helper-made-private "Link to this heading") `numpy.fft.helper` was renamed to `numpy.fft._helper` to indicate that it is a private submodule. All public functions exported by it ...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
703b6327-ce75-5b47-8360-7fe6cdd1a95a
changelog
numpy
numpy
200
72
### Out-of-bound axis not the same as `axis=None`[#](#out-of-bound-axis-not-the-same-as-axis-none "Link to this heading") In some cases `axis=32` or for concatenate any large value was the same as `axis=None`. Except for `concatenate` this was deprecate. Any out of bound axis value will now error, make sure to use `ax...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
ccc81f14-fe89-5957-b438-a6faaede89fd
changelog
numpy
numpy
200
73
([gh-25168](https://github.com/numpy/numpy/pull/25168)) ### The `__array__` special method now takes a `copy` keyword argument.[#](#the-array-special-method-now-takes-a-copy-keyword-argument "Link to this heading") NumPy will pass `copy` to the `__array__` special method in situations where it would be set to a non-d...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
0a11136d-54e8-59df-9fb4-85b332a5320a
changelog
numpy
numpy
200
74
### Cleanup of initialization of `numpy.dtype` with strings with commas[#](#cleanup-of-initialization-of-numpy-dtype-with-strings-with-commas "Link to this heading") The interpretation of strings with commas is changed slightly, in that a trailing comma will now always create a structured dtype. E.g., where previously...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
b9909c3c-709b-520a-8e76-7f3d45e732c3
changelog
numpy
numpy
200
75
### Change in how complex sign is calculated[#](#change-in-how-complex-sign-is-calculated "Link to this heading") Following the array API standard, the complex sign is now calculated as `z / |z|` (instead of the rather less logical case where the sign of the real part was taken, unless the real part was zero, in which...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
ca9bd02c-3f93-550e-8cb1-e037ab161b9d
changelog
numpy
numpy
200
76
functions are: [`atleast_1d`](../reference/generated/numpy.atleast_1d.html#numpy.atleast_1d "numpy.atleast_1d"), [`atleast_2d`](../reference/generated/numpy.atleast_2d.html#numpy.atleast_2d "numpy.atleast_2d"), [`atleast_3d`](../reference/generated/numpy.atleast_3d.html#numpy.atleast_3d "numpy.atleast_3d"), [`broadcast...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
f1607fa2-97ed-5f39-a7a4-9dc9e1c98719
changelog
numpy
numpy
200
77
the `unique_inverse` output is now shaped such that the input can be reconstructed directly using `np.take(unique, unique_inverse)` when `axis=None`, and `np.take_along_axis(unique, unique_inverse, axis=axis)` otherwise. Note This change was reverted in 2.0.1 except for `axis=None`. The correct reconstruction is alwa...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
4c59ec9e-2bb1-55cf-b604-da01aca96824
changelog
numpy
numpy
200
78
([gh-25712](https://github.com/numpy/numpy/pull/25712)) ### `np.can_cast` cannot be called on Python int, float, or complex[#](#np-can-cast-cannot-be-called-on-python-int-float-or-complex "Link to this heading") `np.can_cast` cannot be called with Python int, float, or complex instances anymore. This is because NEP 5...
large_dataset/raw/changelog/numpy_releases/numpy_200.md
bb4f6872-d013-5e08-ac00-b3b0b1954f7a
changelog
numpy
numpy
201
0
# NumPy 2.0.1 Release Notes# Source: https://numpy.org/doc/stable/release/2.0.1-notes.html Version: 2.0.1 NumPy 2.0.1 is a maintenance release that fixes bugs and regressions discovered after the 2.0.0 release. NumPy 2.0.1 is the last planned release in the 2.0.x series, 2.1.0rc1 should be out shortly. The Python ve...
large_dataset/raw/changelog/numpy_releases/numpy_201.md
d6bcb57f-fbe7-5b65-b05a-2e72838c990c
changelog
numpy
numpy
201
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. * @vahidmech + * Alex Herbert + * Charles Harris * Giovanni Del Monte + * Leo Singer * Lysandros Nikolaou * Matti Picus * Nathan Goldbaum ...
large_dataset/raw/changelog/numpy_releases/numpy_201.md
4aba44cc-a116-5954-989f-92487210329c
changelog
numpy
numpy
201
2
* [#26821](https://github.com/numpy/numpy/pull/26821): BLD: Fix x86-simd-sort build failure on openBSD * [#26822](https://github.com/numpy/numpy/pull/26822): BUG: Ensure output order follows input in numpy.fft * [#26823](https://github.com/numpy/numpy/pull/26823): TYP: fix missing sys import in numeric.pyi * [#26832](h...
large_dataset/raw/changelog/numpy_releases/numpy_201.md
d436cd34-22e6-53dc-bfc3-0c0df9182505
changelog
numpy
numpy
201
3
* [#26869](https://github.com/numpy/numpy/pull/26869): BUG: Mismatched allocation domains in `PyArray_FillWithScalar` * [#26870](https://github.com/numpy/numpy/pull/26870): BUG: Handle –f77flags and –f90flags for meson [wheel build] * [#26887](https://github.com/numpy/numpy/pull/26887): BUG: Fix new DTypes and new stri...
large_dataset/raw/changelog/numpy_releases/numpy_201.md
b1d8aed7-3dc8-5d4a-acd7-a89347ae3a1f
changelog
numpy
numpy
201
4
* [#26971](https://github.com/numpy/numpy/pull/26971): BUG: fix f2py tests to work with v2 API * [#26995](https://github.com/numpy/numpy/pull/26995): BUG: Add object cast to avoid warning with limited API
large_dataset/raw/changelog/numpy_releases/numpy_201.md
438fdc03-ab40-511d-8e5f-296c4a5d0880
changelog
numpy
numpy
202
0
# NumPy 2.0.2 Release Notes# Source: https://numpy.org/doc/stable/release/2.0.2-notes.html Version: 2.0.2 NumPy 2.0.2 is a maintenance release that fixes bugs and regressions discovered after the 2.0.1 release. The Python versions supported by this release are 3.9-3.12. ## Contributors[#](#contributors "Link to thi...
large_dataset/raw/changelog/numpy_releases/numpy_202.md
f68d6349-d7f4-5258-9eb2-508c4c68a773
changelog
numpy
numpy
202
1
* [#27001](https://github.com/numpy/numpy/pull/27001): MAINT: prepare 2.0.x for further development * [#27021](https://github.com/numpy/numpy/pull/27021): BUG: cfuncs.py: fix crash when sys.stderr is not available * [#27022](https://github.com/numpy/numpy/pull/27022): DOC: Fix migration note for `alltrue` and `sometrue...
large_dataset/raw/changelog/numpy_releases/numpy_202.md
4a35e1d1-bdfe-5edc-a238-30359fa437b4
changelog
numpy
numpy
202
2
* [#27128](https://github.com/numpy/numpy/pull/27128): BUG: add missing error handling in public\_dtype\_api.c * [#27129](https://github.com/numpy/numpy/pull/27129): BUG: fix another cast setup in array\_assign\_subscript * [#27130](https://github.com/numpy/numpy/pull/27130): BUG: Fix building NumPy in FIPS mode * [#27...
large_dataset/raw/changelog/numpy_releases/numpy_202.md
d8efecd9-8298-57a0-935b-a98ac01bb1a2
changelog
numpy
numpy
210
0
# NumPy 2.1.0 Release Notes# Source: https://numpy.org/doc/stable/release/2.1.0-notes.html Version: 2.1.0 NumPy 2.1.0 provides support for the upcoming Python 3.13 release and drops support for Python 3.9. In addition to the usual bug fixes and updated Python support, it helps get us back into our usual release cycle...
large_dataset/raw/changelog/numpy_releases/numpy_210.md
225aa823-d9ea-57de-85c5-cb62dd66b154
changelog
numpy
numpy
210
1
## Deprecations[#](#deprecations "Link to this heading") * The `fix_imports` keyword argument in `numpy.save` is deprecated. Since NumPy 1.17, `numpy.save` uses a pickle protocol that no longer supports Python 2, and ignored `fix_imports` keyword. This keyword is kept only for backward compatibility. It is now d...
large_dataset/raw/changelog/numpy_releases/numpy_210.md
c739dc7d-062c-5ddf-b95c-32639b0d3c0a
changelog
numpy
numpy
210
2
was stubbed out. ([gh-26611](https://github.com/numpy/numpy/pull/26611)) ## C API changes[#](#c-api-changes "Link to this heading") ### API symbols now hidden but customizable[#](#api-symbols-now-hidden-but-customizable "Link to this heading") NumPy now defaults to hide the API symbols it adds to allow all NumP...
large_dataset/raw/changelog/numpy_releases/numpy_210.md
77aefce4-0a8c-552d-9257-30a287e5fe99
changelog
numpy
numpy
210
3
### Many shims removed from npy\_3kcompat.h[#](#many-shims-removed-from-npy-3kcompat-h "Link to this heading") Many of the old shims and helper functions were removed from `npy_3kcompat.h`. If you find yourself in need of these, vendor the previous version of the file into your codebase. ([gh-26842](https://github.co...
large_dataset/raw/changelog/numpy_releases/numpy_210.md
22f9fdcf-bf9a-548a-a66e-e9b827638d88
changelog
numpy
numpy
210
4
## New Features[#](#new-features "Link to this heading") ### Preliminary Support for Free-Threaded CPython 3.13[#](#preliminary-support-for-free-threaded-cpython-3-13 "Link to this heading") CPython 3.13 will be available as an experimental free-threaded build. See <https://py-free-threading.github.io>, [PEP 703](htt...
large_dataset/raw/changelog/numpy_releases/numpy_210.md
63845ac6-ed3d-5115-ba82-2fabbb4dbc71
changelog
numpy
numpy
210
5
safe. Read-only shared access to ndarray should be safe. NumPy exposes shared mutable state and we have not added any locking to the array object itself to serialize access to shared state. Care must be taken in user code to avoid races if you would like to mutate the same array in multiple threads. It is certainly pos...
large_dataset/raw/changelog/numpy_releases/numpy_210.md
bd3ff821-581c-5f55-843c-9524e8e09690
changelog
numpy
numpy
210
6
threads, we encourage testing and experimentation. If you run into problems that you suspect are because of NumPy, please [open an issue](https://github.com/numpy/numpy/issues/new/choose), checking first if the bug also occurs in the “regular” non-free-threaded CPython 3.13 build. Many threading bugs can also occur in...
large_dataset/raw/changelog/numpy_releases/numpy_210.md
6bef74be-aece-56f9-bd46-47e9a07b8cce
changelog
numpy
numpy
210
7
`numpy.set_printoptions` now support a new option, `override_repr`, for defining custom `repr(array)` behavior. ([gh-26611](https://github.com/numpy/numpy/pull/26611)) * `numpy.cumulative_sum` and `numpy.cumulative_prod` were added as Array API compatible alternatives for `numpy.cumsum` and `numpy.cumprod`. Th...
large_dataset/raw/changelog/numpy_releases/numpy_210.md
63693b5e-248e-528f-957e-c3e7662e9f22
changelog
numpy
numpy
210
8
### `f2py` can generate freethreading-compatible C extensions[#](#f2py-can-generate-freethreading-compatible-c-extensions "Link to this heading") Pass `--freethreading-compatible` to the f2py CLI tool to produce a C extension marked as compatible with the free threading CPython interpreter. Doing so prevents the inter...
large_dataset/raw/changelog/numpy_releases/numpy_210.md
8eb0dbb6-905a-5f3e-88c9-42a7f5cf15d7
changelog
numpy
numpy
210
9
algorithms provided by `histogram_bin_edges`. ([gh-12150](https://github.com/numpy/numpy/pull/12150)) ### `ndarray` shape-type parameter is now covariant and bound to `tuple[int, ...]`[#](#ndarray-shape-type-parameter-is-now-covariant-and-bound-to-tuple-int "Link to this heading") Static typing for `ndarray` is a lo...
large_dataset/raw/changelog/numpy_releases/numpy_210.md