pandas.Index.append — pandas 3.0.0.dev0+2103.g41968a550a documentation (original) (raw)
Append a collection of Index options together.
Parameters:
otherIndex or list/tuple of indices
Single Index or a collection of indices, which can be either a list or a tuple.
Returns:
Index
Returns a new Index object resulting from appending the provided other indices to the original Index.
See also
Make new Index inserting new item at location.
Examples
idx = pd.Index([1, 2, 3]) idx.append(pd.Index([4])) Index([1, 2, 3, 4], dtype='int64')