summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_asarray.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2023-02-28 19:45:24 +0000
committerRalf Gommers <ralf.gommers@gmail.com>2023-03-01 13:51:41 +0000
commitcb62246d33386205f4e1d70429da17865dfdfbd9 (patch)
tree9bcbb1b01e6bdf34b9a1e8c7a6313f5f5c320383 /numpy/array_api/tests/test_asarray.py
parent768bbec24fff74cb59a173accf7fbeda6aca89a1 (diff)
downloadnumpy-cb62246d33386205f4e1d70429da17865dfdfbd9.tar.gz
DOC: add `np.round` to the html docs, and make it the preferred alias
The function is more commonly called `round`, both in the array API standard and in other array libraries (e.g., PyTorch has `round` but not around). Plus we have `ndarray.round`. `around` is heavily used, so keep it as an alias - but prefer `round`. For both this switch and for keeping the alias, xref gh-13877. Closes gh-19717
Diffstat (limited to 'numpy/array_api/tests/test_asarray.py')
0 files changed, 0 insertions, 0 deletions