From f994f2a7569b35810e35c96897680f9b38f291f7 Mon Sep 17 00:00:00 2001 From: lzkelley Date: Wed, 21 Oct 2015 22:17:00 -0400 Subject: DOC: clarify usage of 'argparse' return value. In response to Ticket #4724, explain that the 'index_array' returned by 'argparse' can only be used to (directly) sort a one-dimensional input array. --- numpy/core/fromnumeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core') diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 7ba364512..0fc572cb6 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -848,7 +848,7 @@ def argsort(a, axis=-1, kind='quicksort', order=None): ------- index_array : ndarray, int Array of indices that sort `a` along the specified axis. - In other words, ``a[index_array]`` yields a sorted `a`. + If `a` is one-dimensional, ``a[index_array]`` yields a sorted `a`. See Also -------- -- cgit v1.2.1