summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorNils Werner <nils.werner@gmail.com>2014-11-07 23:09:30 +0100
committerNils Werner <nils.werner@gmail.com>2014-11-07 23:09:30 +0100
commit7b1f8e2723c7611803b0341987b544d42706d0f7 (patch)
treef564da2c5c47889e78637197d687dcabc826e43e /numpy/core/fromnumeric.py
parentcfa095a203586eae9466f5ebbbdc5f60905aeb20 (diff)
downloadnumpy-7b1f8e2723c7611803b0341987b544d42706d0f7.tar.gz
Mention transport argsort for inverting the transposition
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 674cd5f59..28c1c7d75 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -513,6 +513,12 @@ def transpose(a, axes=None):
See Also
--------
rollaxis
+ argsort
+
+ Notes
+ -----
+ Use `transpose(a, argsort(axes))` to invert the transposition of tensors
+ when using the `axes` keyword argument.
Examples
--------