From 7b1f8e2723c7611803b0341987b544d42706d0f7 Mon Sep 17 00:00:00 2001 From: Nils Werner Date: Fri, 7 Nov 2014 23:09:30 +0100 Subject: Mention transport argsort for inverting the transposition --- numpy/core/fromnumeric.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'numpy/core/fromnumeric.py') 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 -------- -- cgit v1.2.1