summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-01-28 07:51:07 +0200
committerGitHub <noreply@github.com>2021-01-28 07:51:07 +0200
commit872373b030eb6c181ab7f29c0928ccd8b0f74528 (patch)
tree9599bae4fb7e0a4b619e7619fd8b21cd79598b13 /numpy/core/numeric.py
parent2863c52c9d8e28cd33973e97be492e30c6e1e1eb (diff)
parentf305d5962614e98eea5d10a2140eee7e16ab9aca (diff)
downloadnumpy-872373b030eb6c181ab7f29c0928ccd8b0f74528.tar.gz
Merge pull request #18247 from Carreau/arf-II
DOC: Misc numpydoc format fixes
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index e776bd43b..086439656 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -1427,12 +1427,11 @@ def moveaxis(a, source, destination):
See Also
--------
- transpose: Permute the dimensions of an array.
- swapaxes: Interchange two axes of an array.
+ transpose : Permute the dimensions of an array.
+ swapaxes : Interchange two axes of an array.
Examples
--------
-
>>> x = np.zeros((3, 4, 5))
>>> np.moveaxis(x, 0, -1).shape
(4, 5, 3)