Index.insert()
Make new Index inserting new item at location.
Follows Python numpy.insert semantics for negative values.
Examples
>>> idx = pd.Index(['a', 'b', 'c']) >>> idx.insert(1, 'x') Index(['a', 'x', 'b', 'c'], dtype='object')
previous
pandas.Index.infer_objects
next
pandas.Index.intersection