From d17ccc8520d5d249bb88566e15c6ac079f192c45 Mon Sep 17 00:00:00 2001 From: Allen Downey Date: Fri, 3 Jul 2020 09:49:57 -0400 Subject: Update fromnumeric.py I suggest adding `unique` to the "See also" section of `repeat` (and vice versa) since each is the inverse of the other. --- numpy/core/fromnumeric.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'numpy/core/fromnumeric.py') diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index a9f3f1069..f8c11c015 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -459,7 +459,8 @@ def repeat(a, repeats, axis=None): See Also -------- tile : Tile an array. - + unique : Find the unique elements of an array. + Examples -------- >>> np.repeat(3, 4) -- cgit v1.2.1