summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | | Merge pull request #23657 from melissawm/ci-skip-docMatti Picus2023-04-261-0/+34
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: Improve description of skip commands for CI
| * | | | | | | | | | | | | | | | Update doc/source/dev/development_workflow.rstMatti Picus2023-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Matteo Raso <33975162+MatteoRaso@users.noreply.github.com>
| * | | | | | | | | | | | | | | | DOC: Improve description of CirrusCI check Melissa Weber Mendonça2023-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [skip travis] [skip azp] [skip cirrus]
| * | | | | | | | | | | | | | | | DOC: Improve description of skip commands for CImelissawm2023-04-241-0/+34
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge pull request #23660 from seberg/finalize-sequence-array-likeCharles Harris2023-04-254-138/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DEP: Finalize checking for sequence-like if something is array-like
| * | | | | | | | | | | | | | | | | DEP: Finalize checking for sequence-like if something is array-likeSebastian Berg2023-04-254-138/+15
| | |_|_|_|_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was always just a stop-gap for shapely basically, so there is no harm finalizing things.
* | | | | | | | | | | | | | | | | TST: Remove crackfortran.nameargspattern time test that failed randomly (#23662)molsonkiko2023-04-251-25/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also made the threshold for rejecting a regex as too slow much more lenient. 200ms should be enough time even for a bad CPU on a bad day. a bad regex should fail with near certainty
* | | | | | | | | | | | | | | | | ENH: float64 sin/cos using Numpy intrinsics (#23399)Christopher Sidebottom2023-04-256-92/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This takes the [sin](https://github.com/ARM-software/optimized-routines/blob/master/math/v_sin.c) and [cos](https://github.com/ARM-software/optimized-routines/blob/master/math/v_cos.c) algorithms from Optimized Routines under MIT license, and converts them to Numpy intrinsics. The routines are within the ULP boundaries of other vectorised math routines (<4ULP). The routines reduce performance in some special cases but improves normal cases. Comparing to the SVML implementation, these routines are more performant in special cases, we're therefore safe to assume the performance is acceptable for AArch64 as well. | performance ratio (lower is better) | benchmark | | ---- | ---- | | 1.8 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'cos'> 4 2 'd') | | 1.79 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'cos'> 4 4 'd') | | 1.77 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'cos'> 4 1 'd') | | 1.74 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'cos'> 2 2 'd') | | 1.74 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'cos'> 2 4 'd') | | 1.72 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'cos'> 2 1 'd') | | 1.6 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'cos'> 1 2 'd') | | 1.6 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'cos'> 1 4 'd') | | 1.56 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'cos'> 1 1 'd') | | 1.42 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'sin'> 2 2 'd') | | 1.41 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'sin'> 2 4 'd') | | 1.37 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'sin'> 2 1 'd') | | 1.26 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'sin'> 4 2 'd') | | 1.26 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'sin'> 4 4 'd') | | 1.2 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'sin'> 4 1 'd') | | 1.18 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'sin'> 1 2 'd') | | 1.18 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'sin'> 1 4 'd') | | 1.12 | bench_ufunc_strides.UnaryFPSpecial.time_unary(<ufunc 'sin'> 1 1 'd') | | 0.65 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'cos'> 4 2 'd') | | 0.64 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'cos'> 2 4 'd') | | 0.64 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'cos'> 4 4 'd') | | 0.64 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'cos'> 2 2 'd') | | 0.61 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'cos'> 1 4 'd') | | 0.61 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'cos'> 1 2 'd') | | 0.6 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'cos'> 2 1 'd') | | 0.6 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'cos'> 4 1 'd') | | 0.56 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'cos'> 1 1 'd') | | 0.52 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'sin'> 4 2 'd') | | 0.52 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'sin'> 4 4 'd') | | 0.52 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'sin'> 2 4 'd') | | 0.52 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'sin'> 2 2 'd') | | 0.47 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'sin'> 1 4 'd') | | 0.47 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'sin'> 1 2 'd') | | 0.46 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'sin'> 4 1 'd') | | 0.46 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'sin'> 2 1 'd') | | 0.42 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'sin'> 1 1 'd') | Co-authored-by: Pierre Blanchard <Pierre.Blanchard@arm.com>
* | | | | | | | | | | | | | | | | Merge pull request #23661 from f380cedric/npzfile-containsCharles Harris2023-04-252-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EHN: add __contains__() to np.lib.npyio.NpzFile
| * | | | | | | | | | | | | | | | | EHN: add __contains__() to np.lib.npyio.NpzFilef380cedric2023-04-252-0/+4
| | |_|_|/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NpzFile inherits from collections.abc.Mapping, which provides __contains__(). However, it calls __getitem__(), which can be slow because it performs file decompression on success.
* | | | | | | | | | | | | | | | | state an other requirement to build a .f90 based module (#23614)nbehrnd2023-04-251-0/+8
|/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generation of a Python module based on a Fortran procedure requires a `Python.h` file.[1] A brief note how to provide this dependency if missing. [1] https://github.com/numpy/numpy/issues/23592 Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
* | | | | | | | | | | | | | | | Merge pull request #23658 from mattip/sphinx6Sebastian Berg2023-04-251-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | MAINT: allow sphinx6, sync with conda environment.yml
| * | | | | | | | | | | | | | | MAINT: allow sphinx6, sync with conda environment.ymlmattip2023-04-251-2/+2
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #23298 from seiko2plus/cpp_half_supportSebastian Berg2023-04-2511-585/+1021
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | ENH: Extend the functionlty of C++ type `np::Half`
| * | | | | | | | | | | | | | | ENH: Extend the functionlty of C++ type `np::Half`Sayed Adel2023-04-0511-585/+1021
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - optimize float/double conversions on x86, requires for now raising up the baseline features to `f16c` at least during the build. - optimize float/double conversions on ppc64le, requires for now raising up the baseline features to `VSX3` at least during the build. - Brings `np::Half` to npymath
* | | | | | | | | | | | | | | | Merge pull request #23655 from r-devulap/ci-spr-enableCharles Harris2023-04-241-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CI: Enable CI on gcc 12.x on Intel SPR
| * | | | | | | | | | | | | | | | CI: Enable CI on gcc 12.x on Intel SPRRaghuveer Devulapalli2023-04-241-1/+3
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge pull request #23656 from ↵Charles Harris2023-04-242-4/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | numpy/dependabot/github_actions/github/codeql-action-2.3.0 MAINT: Bump github/codeql-action from 2.2.12 to 2.3.0
| * | | | | | | | | | | | | | | | MAINT: Bump github/codeql-action from 2.2.12 to 2.3.0dependabot[bot]2023-04-242-4/+4
|/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.12 to 2.3.0. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/7df0ce34898d659f95c0c4a09eaa8d4e32ee64db...b2c19fb9a2a485599ccf4ed5d65527d94bc57226) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | | | | | | | | | | Merge pull request #23654 from seiko2plus/issue_23538Sebastian Berg2023-04-241-4/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: Avoid uses -Werror during tests default C/C++ standards
| * | | | | | | | | | | | | | | | BUG: Avoid uses -Werror during tests default C/C++ standardsSayed Adel2023-04-241-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This may break the test if any unsupported compiler options are specified. This patch also removes the testing of constexpr and keeps only fold expressions and inline variables to avoid triggering the constexpr warning warning: ‘if constexpr’ only available with ‘-std=c++17’ or ‘-std=gnu++17 by Travis CI, which can cause the build to fail due to warning trapping.
* | | | | | | | | | | | | | | | | Merge pull request #23650 from tajbinjohn/mainSebastian Berg2023-04-241-1/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | DOC: Corrects scalar string documentation in regards to trailing null…
| * | | | | | | | | | | | | | | | DOC: Corrects scalar string documentation in regards to trailing null ↵Tajbinjohn2023-04-231-1/+5
|/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | codepoints. Closes #20118
* | | | | | | | | | | | | | | | Merge pull request #23644 from charris/post-1.24.3-release-updateMatti Picus2023-04-234-0/+93
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: Update main after 1.24.3 release.
| * | | | | | | | | | | | | | | | MAINT: Update main after 1.24.3 release.Charles Harris2023-04-224-0/+93
| | |_|/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #23640 from F3eQnxN3RriK/doc-patch-2Charles Harris2023-04-221-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: Downgrade sphinx version to 5
| * | | | | | | | | | | | | | | | DOC: Downgrade sphinx version to 5yuki2023-04-221-1/+1
| |/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pulldown and searchbox are not working in [devdocs](https://numpy.org/devdocs/). The cause seems that sphinx version 6 is used, So downgraded sphinx version to 5.
* | | | | | | | | | | | | | | | Merge pull request #23585 from rkern/doc/random-introRalf Gommers2023-04-225-232/+237
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: np.random index reorganization [skip actions] [skip azp]
| * | | | | | | | | | | | | | | | DOC: fix two broken links and a couple of very minor textual issuesRalf Gommers2023-04-222-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [skip cirrus] [skip azp] [skip actions]
| * | | | | | | | | | | | | | | | DOC: prevent all of the legacy sections from being visible in the index ToCRobert Kern2023-04-201-5/+5
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | DOC: fix formatting and references.Robert Kern2023-04-202-5/+5
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | DOC: move all new-or-different info to its own page.Robert Kern2023-04-192-105/+30
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | DOC: expand seeding wording.Robert Kern2023-04-191-6/+14
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | DOC: emphasize RNG abbreviation on the front pageRobert Kern2023-04-191-10/+10
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | DOC: NumPy capitalizationRobert Kern2023-04-191-1/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | DOC: Move compatibility policy to separate page.Robert Kern2023-04-192-85/+88
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | DOC: NumPy capitalizationRobert Kern2023-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Pamphile Roy <roy.pamphile@gmail.com>
| * | | | | | | | | | | | | | | | DOC: fix referencesRobert Kern2023-04-142-4/+4
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | DOC: compatibility noteRobert Kern2023-04-141-0/+9
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | DOC: Add np.random compatibility policyRobert Kern2023-04-141-0/+76
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | DOC: reorganize np.random index page for general personaRobert Kern2023-04-143-149/+133
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | DOC: Clarify that defining NPY_NO_DEPRECATED_API does not determine ABI ↵Chris Brown2023-04-221-0/+4
| |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compatibility (#23631) Closes gh-23610 [skip ci]
* | | | | | | | | | | | | | | | DOC: Fix incorrectly formatted roles in c-api document (#23639)yuki2023-04-211-1/+1
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #23470 from bobeldering/f2py-f77-array-parsing-fixCharles Harris2023-04-213-27/+37
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: Fix bug in parsing F77 style string arrays.
| * | | | | | | | | | | | | | | | BUG: Fix bug in parsing F77 style string arrays.Bob Eldering2023-03-273-27/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example problematic variable: CHARACTER WORDARR(3)*8 This would be wrapped by an array with shape (3, 8) and dtype |S1, instead of the desired shape (3,) and dtype |S8. See #23356.
* | | | | | | | | | | | | | | | | Merge pull request #23626 from seberg/issue-22912Charles Harris2023-04-211-0/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: Fix masked array raveling when `order="A"` or `order="K"`
| * | | | | | | | | | | | | | | | | BUG: Fix masked array raveling when `order="A"` or `order="K"`Sebastian Berg2023-04-212-0/+24
| | |_|_|_|_|_|_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This transitively fixes gh-22912. I had alooked a bit into whether it is worthwhile to preserve the mask order, but TBH, we seem to not do so in so many places, that I don't think it really is worthwhile. Applying `order="K"` or `order="A"` to the data and mask separately is an big bug though. Closes gh-22912
* | | | | | | | | | | | | | | | | Merge pull request #23627 from seberg/issue-23000Charles Harris2023-04-212-0/+30
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: Ignore invalid and overflow warnings in masked setitem
| * | | | | | | | | | | | | | | | | BUG: Ignore invalid and overflow warnings in masked setitemSebastian Berg2023-04-212-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Giving a warning for invalid/overflow in settitem/casts is right (IMO), however for masked arrays it can be surprising since the warning is not useful if the value is invalid but also masked. So, simply blanket ignore the relevant warnings in setitem via errstate. (There may be some other cases like `.astype()` where it might be helpful to MA users to just blanket opt-out of these new warnings.) Closes gh-23000
* | | | | | | | | | | | | | | | | | Merge pull request #23623 from F3eQnxN3RriK/doc-patch-2Matti Picus2023-04-211-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | DOC: Fix incorrect structure in `sqrt` docstring