8000 DOC: clarify that np.absolute == np.abs by darcymeyer · Pull Request #10220 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: clarify that np.absolute == np.abs #10220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 22, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
DOC: Rephrase np.absolute docs
  • Loading branch information
eric-wieser authored Dec 15, 2017
commit 133d434f73ad4ae216b978e357b71667cf4ecc82
4 changes: 3 additions & 1 deletion numpy/core/code_generators/ufunc_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def add_newdoc(place, name, doc):

add_newdoc('numpy.core.umath', 'absolute',
"""
Calculate the absolute value element-wise. Equivalent to ``numpy.abs``.
Calculate the absolute value element-wise.

``np.abs`` is a shorthand for this function.

Parameters
----------
Expand Down
0