diff options
author | Huang, Guangtai <guangtai@amazon.com> | 2019-08-21 11:04:38 +0800 |
---|---|---|
committer | Huang, Guangtai <guangtai@amazon.com> | 2019-08-21 11:04:38 +0800 |
commit | 0df57515070ed11020feb1e5f1fa88112ee5e09e (patch) | |
tree | e5a550b40329c81b885deeed6a612ce06037f2d5 /numpy/lib/arraysetops.py | |
parent | 3b3eaa60dc31677d1b19cb49e5c414d41ac4089a (diff) | |
download | numpy-0df57515070ed11020feb1e5f1fa88112ee5e09e.tar.gz |
add description in docstring
Diffstat (limited to 'numpy/lib/arraysetops.py')
-rw-r--r-- | numpy/lib/arraysetops.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/lib/arraysetops.py b/numpy/lib/arraysetops.py index c3e833f74..2309f7e42 100644 --- a/numpy/lib/arraysetops.py +++ b/numpy/lib/arraysetops.py @@ -213,6 +213,7 @@ def unique(ar, return_index=False, return_inverse=False, ----- When an axis is specified the subarrays indexed by the axis are sorted. This is done by making the specified axis the first dimension of the array + (move the axis to the first dimension to keep the order of the other axes) and then flattening the subarrays in C order. The flattened subarrays are then viewed as a structured type with each element given a label, with the effect that we end up with a 1-D array of structured types that can be |