summaryrefslogtreecommitdiff
path: root/numpy/lib/arraysetops.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-01-31 01:12:06 -0800
committerEric Wieser <wieser.eric@gmail.com>2018-01-31 01:12:06 -0800
commit41872c1085b707a6020b0058dc063d2981520bc6 (patch)
treee534617ddaa21760fbba5129723f4a8c61daccef /numpy/lib/arraysetops.py
parent2b417df83202df9ea67f1eec76985a3da20cb86c (diff)
downloadnumpy-41872c1085b707a6020b0058dc063d2981520bc6.tar.gz
DOC: Use a bulleted list to show the outputs of `unique`, for clarity
Diffstat (limited to 'numpy/lib/arraysetops.py')
-rw-r--r--numpy/lib/arraysetops.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/numpy/lib/arraysetops.py b/numpy/lib/arraysetops.py
index e1c1c8803..1ac1f3f03 100644
--- a/numpy/lib/arraysetops.py
+++ b/numpy/lib/arraysetops.py
@@ -124,10 +124,11 @@ def unique(ar, return_index=False, return_inverse=False,
Find the unique elements of an array.
Returns the sorted unique elements of an array. There are three optional
- outputs in addition to the unique elements: the indices of the input array
- that give the unique values, the indices of the unique array that
- reconstruct the input array, and the number of times each unique value
- comes up in the input array.
+ outputs in addition to the unique elements:
+
+ * the indices of the input array that give the unique values
+ * the indices of the unique array that reconstruct the input array
+ * the number of times each unique value comes up in the input array
Parameters
----------