Intersection returning unique elements common to both arrays.
ar1,ar2 : array_like
Input arrays.
out : ndarray, shape(N,)
Sorted 1D array of common and unique elements.
See also
Examples
>>> np.intersect1d_nu([1,3,3],[3,1,1]) array([1, 3])
numpy.intersect1d
numpy.setdiff1d