diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-09-30 09:36:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 09:36:53 +0300 |
commit | d92693b9c7f36679a7703a72397a2993ab158f88 (patch) | |
tree | b8d41d0f52bcfd59b2f2f9f8ec0cd3d988dfd979 /numpy/lib/arraysetops.py | |
parent | 0630be4c479f36113e9c3bac50a11d163d2208e4 (diff) | |
parent | d1d725b10a568da98ade43e81deeef3e41789ab8 (diff) | |
download | numpy-d92693b9c7f36679a7703a72397a2993ab158f88.tar.gz |
Merge pull request #17402 from rossbar/doc/add_arysetops
DOC: Add arraysetops to an autosummary
Diffstat (limited to 'numpy/lib/arraysetops.py')
-rw-r--r-- | numpy/lib/arraysetops.py | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/numpy/lib/arraysetops.py b/numpy/lib/arraysetops.py index 6a2ad004c..9464692e0 100644 --- a/numpy/lib/arraysetops.py +++ b/numpy/lib/arraysetops.py @@ -1,28 +1,17 @@ """ Set operations for arrays based on sorting. -:Contains: - unique, - isin, - ediff1d, - intersect1d, - setxor1d, - in1d, - union1d, - setdiff1d - -:Notes: +Notes +----- For floating point arrays, inaccurate results may appear due to usual round-off and floating point comparison issues. Speed could be gained in some operations by an implementation of -sort(), that can provide directly the permutation vectors, avoiding -thus calls to argsort(). +`numpy.sort`, that can provide directly the permutation vectors, thus avoiding +calls to `numpy.argsort`. -To do: Optionally return indices analogously to unique for all functions. - -:Author: Robert Cimrman +Original author: Robert Cimrman """ import functools |