TimedeltaIndex.slice_indexer()

TimedeltaIndex.slice_indexer(start=None, end=None, step=None, kind=None) [source] For an ordered Index, compute the slice indexer for input labels and step Parameters: start : label, default None If None, defaults to the beginning end : label, default None If None, defaults to the end step : int, default None kind : string, default None Returns: indexer : ndarray or slice Notes This function assumes that the data is sorted, so use at your own peril

TimedeltaIndex.sort()

TimedeltaIndex.sort(*args, **kwargs) [source]

TimedeltaIndex.shift()

TimedeltaIndex.shift(n, freq=None) [source] Specialized shift which produces a DatetimeIndex Parameters: n : int Periods to shift by freq : DateOffset or timedelta-like, optional Returns: shifted : DatetimeIndex

TimedeltaIndex.shape

TimedeltaIndex.shape return a tuple of the shape of the underlying data

TimedeltaIndex.size

TimedeltaIndex.size return the number of elements in the underlying data

TimedeltaIndex.set_names()

TimedeltaIndex.set_names(names, level=None, inplace=False) [source] Set new names on index. Defaults to returning new index. Parameters: names : str or sequence name(s) to set level : int, level name, or sequence of int/level names (default None) If the index is a MultiIndex (hierarchical), level(s) to set (None for all levels). Otherwise level must be None inplace : bool if True, mutates in place Returns: new index (of same type and class...etc) [if inplace, returns None] Example

TimedeltaIndex.set_value()

TimedeltaIndex.set_value(arr, key, value) [source] Fast lookup of value from 1-dimensional ndarray. Only use this if you know what you?re doing

TimedeltaIndex.seconds

TimedeltaIndex.seconds Number of seconds (>= 0 and less than 1 day) for each element.

TimedeltaIndex.round()

TimedeltaIndex.round(freq, *args, **kwargs) [source] round the index to the specified freq Parameters: freq : freq string/object Returns: index of same type Raises: ValueError if the freq cannot be converted

TimedeltaIndex.resolution

TimedeltaIndex.resolution = None