extend# IndexSet1D.extend(elems, /)[source]# Extend the IndexSet by appending elements from an iterable, in-place. Parameters: elemsiterable Raises: ValueErrorIf any element is invalid. ValueErrorIf any element is already present in the IndexSet (introduces duplicate(s)).