This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / cluster / hierarchy / _hierarchy_impl / _remove_dups

function

scipy.cluster.hierarchy._hierarchy_impl:_remove_dups

source: build-install/usr/lib/python3.14/site-packages/scipy/cluster/hierarchy/_hierarchy_impl.py:2795

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