UnionFind.union

UnionFind.union(*objects)[source]

Find the sets containing the objects and merge them all.