NumPy · Function
np.union1d
Find the unique values present in either of two inputs. The result is a sorted NumPy array.
Last updated
Syntax
numpy.union1d(ar1, ar2)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
functools.reducenumpy.ma.union1d