Set difference of 1D arrays with unique elements.
Use unique1d() to generate arrays with only unique elements to use as inputs to this function.
ar1 : array_like
Input array.
ar2 : array_like
Input comparison array.
difference : ndarray
The values in ar1 that are not in ar2.
See also
numpy.intersect1d_nu
numpy.setmember1d