summaryrefslogtreecommitdiff
path: root/doc/release
Commit message (Collapse)AuthorAgeFilesLines
* BLD: enabled negation of library choices in NPY_*_ORDER (#17219)Nick R. Papior2020-09-171-0/+12
| | | | | | | | | | | | | | | | | | | | | | | BLD: enabled negation of library choices in NPY_*_ORDER When users build for a particular order it may be beneficial to disallow certain libraries. In particular a user may not care about which accelerated BLAS library is used, so long as the NetLIB or ATLAS library isn't used. This is now possible with: NPY_BLAS_ORDER='^blas,atlas' or NPY_BLAS_ORDER='!blas,atlas' Since we may envision more BLAS/LAPACK libraries to the pool, this will provide greater flexibility as they enter. A new (local) method is added in system_info.py which removes duplicate code and allows for easier usage across libraries.
* ENH: Allow genfromtxt to unpack structured arrays (#16650)Andrew Eckart2020-09-111-0/+16
| | | | | | | | | | | | | * ENH: Allow genfromtxt to unpack structured arrays genfromtxt failed to transpose output when unpack=True and `dtype` was structured (or None). This patch resolves the issue by returning a list of arrays, as in `loadtxt`. Co-authored-by: Matti Picus <matti.picus@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* DOC: Add compatibility release note for gh-17241Charles Harris2020-09-031-0/+6
| | | | [skip ci]
* Merge pull request #16134 from seberg/concatenate-dtypeMatti Picus2020-09-032-0/+14
|\ | | | | ENH: Implement concatenate dtype and casting keyword arguments
| * Update doc/release/upcoming_changes/16134.compatibility.rstSebastian Berg2020-09-031-5/+5
| | | | | | Co-authored-by: Matti Picus <matti.picus@gmail.com>
| * ENH: Implement concatenate dtype and casting keyword argumentsSebastian Berg2020-09-022-0/+14
| | | | | | | | | | | | | | Unfortunately, the casting was not consistent and sometimes used force casting (axis=None) while normally same kind casting was used. This thus deprecates the `force_casting` corner case, so that casting has to be provided in the future.
* | DEP: Deprecated ndindex.ndincrEric Wieser2020-09-031-0/+4
|/ | | | The "do not use" comment has been here since bb0e4f356cce2f199d9c08ffe572fbabadc846d1.
* BUG: revert trim_zeros changes from gh-16911mattip2020-08-271-7/+0
|
* Merge pull request #17116 from eric-wieser/expire-ctypes_load_librarySebastian Berg2020-08-201-0/+2
|\ | | | | API: Remove `np.ctypeslib.ctypes_load_library`
| * API: Remove `np.ctypeslib.ctypes_load_library`Eric Wieser2020-08-201-0/+2
| | | | | | | | | | | | This function has been deprecated since fcee1ad856089a7ecb7b6865d280c0273dacb638 (Numpy v1.0b3). 14 years is more than enough time for users to switch from it.
* | Merge pull request #17068 from charris/cleanup-pystring_fromstring-usageMatti Picus2020-08-201-0/+4
|\ \ | |/ |/| MAINT, BUG: Remove uses of PyString_FromString.
| * MAINT: Remove uses of PyString_FromString.Charles Harris2020-08-191-0/+4
| | | | | | | | | | | | | | | | We no longer need to use the compatibility function after dropping support for Python 2.7. In some cases unicode was the correct string type rather than the bytes of the compatibility version and bugs in the array `__complex__` and array `__array_interface__` methods have been fixed by changing that.
* | Merge pull request #17058 from BvB93/trim_zeros2Matti Picus2020-08-191-1/+1
|\ \ | | | | | | MAINT: Revert boolean casting back to elementwise comparisons in `trim_zeros`
| * | ENH: Use elementwise comparisons with 0 rather than boolean castingBas van Beek2020-08-111-1/+1
| |/
* | Merge pull request #17029 from seberg/cast-error-returnMatti Picus2020-08-171-0/+14
|\ \ | | | | | | MAINT: Add error return to all casting functionality and NpyIter
| * | Update doc/release/upcoming_changes/17029.compatibility.rstSebastian Berg2020-08-121-13/+4
| | |
| * | DOC: Add release note for casting error changesSebastian Berg2020-08-111-0/+23
| |/
* | Merge pull request #16841 from marload/fix-issue-16813Matti Picus2020-08-171-0/+19
|\ \ | | | | | | BUG: linspace should round towards -infinity
| * | DOC: Add example to release noteRoss Barnowski2020-08-031-1/+15
| | |
| * | Update rst links in changelogRoss Barnowski2020-08-031-2/+2
| | |
| * | Update changelog name.Ross Barnowski2020-08-031-0/+0
| | |
| * | Update 16841.changes.rstMatti Picus2020-08-031-4/+5
| | | | | | | | | reword the release note
| * | Fix Testmarload2020-08-031-0/+4
| | |
* | | ENH: Add support for file like objects to np.core.records.fromfile (#16675)Sidhant Bansal2020-08-131-0/+4
| | | | | | | | | | | | | | | * ENH: Add file like support to np.core.records.fromfile (#2504) Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* | | DEP: lib: Remove the deprecated financial functions. (#17067)Warren Weckesser2020-08-121-0/+8
| |/ |/| | | | | | | | | | | | | | | As explained in NEP 32, the financial functions are to be removed from version 1.20. They are now replaced with module level `__getattr__` to give a useful error message for those surprised by the `AttributeError`. This only works for Python 3.7+, but it is expected that by the 1.20 release Python 3.6 will not be supported.
* | BUG: Raise correct errors in boolean indexing fast path (gh-17010)Aaron Meurer2020-08-061-0/+24
| | | | | | | | | | | | | | | | | | | | Previously the logic assumed that an index was valid if the size was the same as the indexed array, rather than the shape. This resulted in an index being incorrectly allowed if the index was all False, like np.empty((3, 3))[np.full((1, 9), False)], or incorrectly giving a ValueError about broadcasting if the index was not all False (like np.empty((3, 3))[np.full((1, 9), True)]). Now these examples both give IndexError with the usual error message. Fixes #16997.
* | ENH: Add NumPy declarations to be used by Cython 3.0+ (#16986)scoder2020-08-051-0/+7
| | | | | | * Create copy of numpy.pxd for Cython 3.0 changes and improve it.
* | ENH: Speed up trim_zeros (#16911)Bas van Beek2020-08-041-0/+7
|/ | | | | | | | | | | | | * Added a benchmark for `trim_zeros()` * Improve the performance of `np.trim_zeros()` * Increase the variety of the tests Fall back to the old `np.trim_zeros()` implementation if an exception is encountered. Emit a `DeprecationWarning` in such case. * DEP,REL: Added a deprecation release note
* BUG: Set readonly flag in array interface instead of warning (gh-16350)Alexander Belopolsky2020-08-031-0/+8
| | | | | | | Set readonly flags in array interface dict and array struct capsule returned by an array with warn_on_write flag set instead of producing a deprecation warning. Closes #16335
* ENH: Use f90 compiler specified in command line args for pgi compilers. ↵Daniel Vanzo2020-07-281-0/+9
| | | | Issue #16481
* Merge pull request #16815 from cjblocker/mgrid-floatMatti Picus2020-07-251-0/+8
|\ | | | | BUG: fix mgrid output for lower precision float inputs
| * DOC: add release note for #16815Cameron Blocker2020-07-241-0/+8
| |
* | Revert "Merge pull request #16248 from alexrockhill/edge"mattip2020-07-231-13/+0
| |
* | added release noteAlex2020-07-221-0/+13
| |
* | DEP: Deprecate ufunc.outer with matrix inputsSebastian Berg2020-07-161-0/+6
| | | | | | | | | | | | | | | | | | | | Previously we converted matrices to arrays for the user, since `np.outer` does not make sense for matrix. This deprecates that usage (which in almost all cases will result in an error). The main reason for this deprecation is to remove all direct references of matrix from the NumPy codebase, so that it is easier to move it out of NumPy eventually.
* | ENH: add `norm=forward,backward` to numpy.fft functions (#16476)Chris Vavaliaris2020-07-121-0/+9
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kwarg option norm=inverse leads to scaling of the transforms inverse (opposite) to that of the default option norm=None; i.e. the forward transform is normalized with 1/n whereas the backward one with 1. The fft routines and their tests have been modified to reflect the changes; all tests have been passed successfully. Closes #16126 * modified _unitary, fft & ifft and their tests; tests passed * modified rfft & irfft and their tests; tests passed * modified hfft & ihfft and all tests; all modifications are now done * correction in ihfft; all 79 fft tests passed successfully * undo unnecessary docstrings changes made in my previous commits * use norm=forward kwarg value name * Update numpy/fft/__init__.py Co-authored-by: Leo Fang <leofang@bnl.gov> * add code review suggestions Co-authored-by: Leo Fang <leofang@bnl.gov> * add default norm=None alias norm=backward * streamline private normalization functions * modify hermitian FFTs * add review suggestions Co-authored-by: Leo Fang <leofang@bnl.gov> * add review suggestions v2 (dict as module const) * make review suggestions v3 * Apply suggestions from code review Co-authored-by: Leo Fang <leofang@bnl.gov>
* Update doc/release/upcoming_changes/16200.compatibility.rstMatti Picus2020-07-081-1/+1
| | | Co-authored-by: Hameer Abbasi <einstein.edison@gmail.com>
* Update doc/release/upcoming_changes/16200.compatibility.rstSebastian Berg2020-07-081-1/+1
| | | Co-authored-by: Anirudh Subramanian <anirudh2290@apache.org>
* MAINT: Put a hack in place to allow datetime64 -> string assignment when ↵Sebastian Berg2020-07-081-0/+6
| | | | | | | | string is too short this retains (and slightly expands) the old behaviour. It is inconsistent and I think we should fix that inconsistency one way or the other (I honestly do not care *which* way).
* DOC: Add release notes for array-coercion changesSebastian Berg2020-07-081-0/+58
|
* MAINT: Remove nickname from polynomial classes. (gh-16589)Ross Barnowski2020-07-081-0/+8
| | | | | | | | | | | | | | | | * MAINT: Remove nickname from polynomial classes. The convenience classes derived from ABCPolyBase had a nickname attribute that was only used internally in the previous implementation of __str__. After the overhaul of __str__ in #15666, this attr is no longer used. * DOC: Add release note. Add release note to notify users of removal of the abstract property, and highlight users that may be affected by the change. * DOC: fixed rST in release note
* BUG: Fix promote_types uint<->m8 behaviorAnirudh Subramanian2020-06-191-2/+8
|
* BUG: Fix promote_types float32->m8 behaviorAnirudh Subramanian2020-06-191-0/+7
|
* Merge pull request #13516 from seiko2plus/core_improve_infa_buildMatti Picus2020-06-171-0/+47
|\ | | | | ENH: enable multi-platform SIMD compiler optimizations
| * DOC: add a release noteSayed Adel2020-06-161-0/+47
| |
* | Merge pull request #16558 from person142/typing-runtimeMatti Picus2020-06-171-0/+9
|\ \ | | | | | | ENH: make typing module available at runtime
| * | DOC: add release note about `np.typing` being available at runtimeJosh Wilson2020-06-141-0/+9
| | |
* | | Merge pull request #14882 from eric-wieser/6103-alias-__getattr__-deprecationSebastian Berg2020-06-161-0/+30
|\ \ \ | | | | | | | | DEP: Deprecate aliases of builtin types in python 3.7+
| * | | DEP: Deprecate aliases of builtin types in python 3.7+Eric Wieser2020-06-121-0/+30
| |/ / | | | | | | | | | | | | | | | | | | | | | This: * Makes accessing these attributes emit a deprecation warning * Removes them from `dir(numpy)`, so as not to emit warnings for user of `inspect.getmembers` These aliases are a continual source of confusion for beginners, and are still often used by accident by experts.
* | | DOC: make addition of types a "new feature" in release notesJosh Wilson2020-06-141-0/+0
| |/ |/| | | | | | | | | See https://github.com/numpy/numpy/pull/16558#issuecomment-643679096. It was previously an "improvement".