numpy.union1d(ar1, ar2)
numpy.unique(ar, return_index=False, return_inverse=False, return_counts=False)
numpy.setdiff1d(ar1, ar2, assume_unique=False)
numpy.in1d(ar1, ar2, assume_unique=False, invert=False)
numpy.intersect1d(ar1, ar2, assume_unique=False)
numpy.setxor1d(ar1, ar2, assume_unique=False)