pandas.Index.insert

Index.insert(loc, item)[source]

Make new Index inserting new item at location.

Follows Python numpy.insert semantics for negative values.

Parameters:
locint
itemobject
Returns:
new_indexIndex