{ } Raw JSON

bundles / scipy 1.18.0 / scipy / cluster / hierarchy / _hierarchy_impl / _remove_dups

function

scipy.cluster.hierarchy._hierarchy_impl:_remove_dups

source: /scipy/cluster/hierarchy/_hierarchy_impl.py:2787

Signature

def _remove_dups(L)

Summary

Remove duplicates AND preserve the original order of the elements.

Extended Summary

The set class is not guaranteed to do this.

Aliases

  • scipy.cluster.hierarchy._hierarchy_impl._remove_dups