bundles / IPython 9.14.0.dev / IPython / utils / data / uniq_stable
function
IPython.utils.data:uniq_stable
source: /IPython/utils/data.py :20
Signature
def uniq_stable ( elems : Iterable[T] ) → list[T] Summary
uniq_stable(elems) -> list
Extended Summary
Return from an iterable, a list of all the unique elements in the input, but maintaining the order in which they first appear.
Note: All elements in the input must be hashable for this routine to work, as it internally uses a set for efficiency reasons.
Aliases
-
IPython.utils.data.uniq_stable