xarray.CFTimeIndex.append#
- CFTimeIndex.append(other)[source]#
Append a collection of Index options together.
- Parameters:
other (
Indexorlist/tupleofindices) – 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
Index.insertMake 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')