diff options
author | Allen Downey <downey@allendowney.com> | 2020-07-03 09:49:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 09:49:57 -0400 |
commit | d17ccc8520d5d249bb88566e15c6ac079f192c45 (patch) | |
tree | f31014528ad0b0ab1f5fcad5909d4759174b08bf /numpy/core/fromnumeric.py | |
parent | 9298eeb4f6c73ca1259f627860abe98b63f89da4 (diff) | |
download | numpy-d17ccc8520d5d249bb88566e15c6ac079f192c45.tar.gz |
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.
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |