diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2019-07-23 10:10:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-23 10:10:19 -0500 |
commit | 2b7e4234e95ed4acfde74c2e362508e4566e158b (patch) | |
tree | 82d8c5ca9bdf504cb724e355a9eff15db7396e62 /numpy/lib/arraysetops.py | |
parent | 67940ffec87b75ff72250ae9b2890fac6a134681 (diff) | |
parent | 7329c8ceb4eee9a31f35cb50af14c8f4c71639ff (diff) | |
download | numpy-2b7e4234e95ed4acfde74c2e362508e4566e158b.tar.gz |
Merge pull request #14085 from jackieleng/intersect1d-doctest
DOC: Add blank line above doctest for intersect1d
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 b53d8c03f..f3f4bc17e 100644 --- a/numpy/lib/arraysetops.py +++ b/numpy/lib/arraysetops.py @@ -383,6 +383,7 @@ def intersect1d(ar1, ar2, assume_unique=False, return_indices=False): To return the indices of the values common to the input arrays along with the intersected values: + >>> x = np.array([1, 1, 2, 3, 4]) >>> y = np.array([2, 1, 4, 6]) >>> xy, x_ind, y_ind = np.intersect1d(x, y, return_indices=True) |