lib.arraysetops
Set operations for arrays based on sorting.
unique(ar[, return_index, return_inverse, …])
unique
Find the unique elements of an array.
in1d(ar1, ar2[, assume_unique, invert])
in1d
Test whether each element of a 1-D array is also present in a second array.
intersect1d(ar1, ar2[, assume_unique, …])
intersect1d
Find the intersection of two arrays.
isin(element, test_elements[, …])
isin
Calculates element in test_elements, broadcasting over element only.
setdiff1d(ar1, ar2[, assume_unique])
setdiff1d
Find the set difference of two arrays.
setxor1d(ar1, ar2[, assume_unique])
setxor1d
Find the set exclusive-or of two arrays.
union1d(ar1, ar2)
union1d
Find the union of two arrays.