Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.TimedeltaIndex.insert

TimedeltaIndex.insert(loc, item)

Make new Index inserting new item at location

Parameters:

loc : int

item : object

if not either a Python datetime or a numpy integer-like, returned Index dtype will be object rather than datetime.

Returns:

new_index : Index