{ } Raw JSON

bundles / numpy 2.4.4 / numpy / lib / _arraysetops_impl / _unique1d

function

numpy.lib._arraysetops_impl:_unique1d

source: /numpy/lib/_arraysetops_impl.py :350

Signature

def   _unique1d ( ar return_index = False return_inverse = False return_counts = False * equal_nan = True inverse_shape = None axis = None sorted = True )

Summary

Find the unique elements of an array, ignoring shape.

Extended Summary

Uses a hash table to find the unique elements if possible.

Aliases

  • numpy.lib._arraysetops_impl._unique1d