On this page
Set routines
Set operations for arrays based on sorting.  | 
     
Making proper sets
  | 
      Find the unique elements of an array.  | 
     
Boolean operations
  | 
      Test whether each element of a 1-D array is also present in a second array.  | 
     
  | 
      Find the intersection of two arrays.  | 
     
  | 
      Calculates   | 
     
  | 
      Find the set difference of two arrays.  | 
     
  | 
      Find the set exclusive-or of two arrays.  | 
     
  | 
      Find the union of two arrays.  | 
     
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
 https://numpy.org/doc/1.20/reference/routines.set.html