append# IndexSet1D.append(elem, /)[source]# Append an element to the end of the IndexSet, in-place. Parameters: elemelement Raises: ValueErrorIf the element is invalid. ValueErrorIf the element is already present in the IndexSet (introduces a duplicate).