skbio.util.find_duplicates

skbio.util.find_duplicates(iterable)[source]

Find duplicate elements in an iterable.

State: Experimental as of 0.4.0.

Parameters:

iterable : iterable

Iterable to be searched for duplicates (i.e., elements that are repeated).

Returns:

set

Repeated elements in iterable.