numpy.lib.arraysetops
Set operations for arrays based on sorting.
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 numpy.sort
, that can provide directly the permutation vectors, thus avoiding calls to numpy.argsort
.
Original author: Robert Cimrman
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.21/reference/generated/numpy.lib.arraysetops.html