From 7329c8ceb4eee9a31f35cb50af14c8f4c71639ff Mon Sep 17 00:00:00 2001 From: Jackie Leng Date: Tue, 23 Jul 2019 13:10:49 +0200 Subject: Add blank line above doctest for intersect1d --- numpy/lib/arraysetops.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/lib/arraysetops.py') 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) -- cgit v1.2.1