summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 2e77c11dc..392a059b5 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -663,9 +663,6 @@ def select(condlist, choicelist, default=0):
>>> np.select(condlist, choicelist, 42)
array([ 0, 1, 2, 42, 16, 25])
- Note that, when multiple conditions are satisfied, the element is drawn
- from the first array in `choicelist` with a matching condition:
-
>>> x = np.arange(6)
>>> condlist = [x<=4, x>3]
>>> choicelist = [x, x**2]