API: Cleaning `numpy/__init__.py` and main namespace - Part 4 [NEP 52] by mtsokol · Pull Request #24445 · numpy/numpy

@mtsokol mtsokol changed the title Overhaul of main namespace part 4 API: Cleaning numpy/__init__.py and main namespace - Part 4 [NEP 52]

Aug 18, 2023

ksunden added a commit to ksunden/matplotlib that referenced this pull request

Aug 21, 2023

ngoldbaum

ngoldbaum

This was referenced

Aug 22, 2023

tylerjereddy added a commit to tylerjereddy/mdanalysis that referenced this pull request

Aug 22, 2023
* replace deprecated `in1d` with `isin` calls per
numpy/numpy#24445, as part
of effort to remain NumPy `2.0` compliant

* the testsuite seems happy locally--if there are
any cases where `in1d` was potentially receiving
arrays with `ndim > 1`, we may want to add `ravel()`
to the outputs in these replacements just to be safe,
but I've assumed the testsuite has us covered

* for now, I've intentionally not adjusted the
docstring of our Cython `_in2d`, which refers
to `in1d`; seems less critical for now

This was referenced

Aug 23, 2023

tylerjereddy

hmacdope pushed a commit to MDAnalysis/mdanalysis that referenced this pull request

Aug 27, 2023
* MAINT: in1d -> isin

* replace deprecated `in1d` with `isin` calls per
numpy/numpy#24445, as part
of effort to remain NumPy `2.0` compliant

* the testsuite seems happy locally--if there are
any cases where `in1d` was potentially receiving
arrays with `ndim > 1`, we may want to add `ravel()`
to the outputs in these replacements just to be safe,
but I've assumed the testsuite has us covered

* for now, I've intentionally not adjusted the
docstring of our Cython `_in2d`, which refers
to `in1d`; seems less critical for now

* DOC: PR 4255 revisions

* add an appropriate `CHANGELOG` entry
per reviewer request

* Update package/CHANGELOG

---------

Co-authored-by: Oliver Beckstein <orbeckst@gmail.com>

rgommers

@mtsokol mtsokol deleted the overhaul-of-main-namespace-part-4 branch

September 5, 2023 19:58

@pllim pllim mentioned this pull request

Sep 6, 2023

pllim

@pllim pllim mentioned this pull request

Sep 7, 2023

BvB93 added a commit to BvB93/numpy that referenced this pull request

Dec 21, 2023

BvB93 added a commit to BvB93/numpy that referenced this pull request

Dec 21, 2023

bmwoodruff added a commit to bmwoodruff/numpy that referenced this pull request

Jun 8, 2024
This PR adds back the links that were removed from `trapz`
in PR numpy#24445, finishing the migration to `trapezoid`
in PR numpy#25738. Currently, no web docs appear for `trapezoid`.

bmwoodruff added a commit to bmwoodruff/numpy that referenced this pull request

Jun 8, 2024
This PR adds back the links that were removed from `trapz`
in PR numpy#24445, finishing the migration to `trapezoid`
in PR numpy#25738. Currently, no web docs appear for `trapezoid`.

[skip actions] [skip azp] [skip cirrus]