This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).
Union of 1D arrays with unique elements.
Use unique1d() to generate arrays with only unique elements to use as inputs to this function.
Parameters: | ar1 : array_like, shape(M,)
ar2 : array_like, shape(N,)
|
---|---|
Returns: | union : ndarray
|
See also