drop_duplicates

psi4.driver.p4util.drop_duplicates(seq)[source]

Return a copy of collection seq without any duplicate entries. :rtype: List

Parameters:

seq (Iterable) – Collection to be de-duplicated. There is no guarantee of which duplicate entry is dropped.

Return type:

List