pandas / 0.20.3 / generated / pandas.timedeltaindex.delete.html /

pandas.TimedeltaIndex.delete

TimedeltaIndex.delete(loc) [source]

Make a new DatetimeIndex with passed location(s) deleted.

Parameters:

loc: int, slice or array of ints

Indicate which sub-arrays to remove.

Returns:

new_index : TimedeltaIndex

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.20.3/generated/pandas.TimedeltaIndex.delete.html