skcriteria.utils.unames module

Utility to achieve unique names for a collection of objects.

skcriteria.utils.unames.unique_names(*, names, elements)[source]

Generate names unique name.

  • elements (iterable of size n) – objects to be named

  • names (iterable of size n) – names candidates


Returns a list where each element is a tuple. Each tuple contains two elements: The first is the unique name of the second.

Return type

list of tuples