API: Cleaning `numpy/__init__.py` and main namespace - Part 4 [NEP 52] by mtsokol · Pull Request #24445 · numpy/numpy
mtsokol
changed the title
Overhaul of main namespace part 4
API: Cleaning numpy/__init__.py and main namespace - Part 4 [NEP 52]
This was referenced
Aug 22, 2023tylerjereddy 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, 2023hmacdope 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>
mtsokol
deleted the
overhaul-of-main-namespace-part-4
branch
pllim
mentioned this pull request
pllim
mentioned this pull request
bmwoodruff added a commit to bmwoodruff/numpy that referenced this pull request
Jun 8, 2024This 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, 2024This 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]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters