DatetimeIndex.strftime()

DatetimeIndex.strftime(date_format) [source] Return an array of formatted strings specified by date_format, which supports the same string format as the python standard library. Details of the string format can be found in python string format doc New in version 0.17.0. Parameters: date_format : str date format string (e.g. ?%Y-%m-%d?) Returns: ndarray of formatted strings

DatetimeIndex.str()

DatetimeIndex.str() [source] Vectorized string functions for Series and Index. NAs stay NA unless handled otherwise by a particular method. Patterned after Python?s string methods, with some inspiration from R?s stringr package. Examples >>> s.str.split('_') >>> s.str.replace('_', '')

DatetimeIndex.sort_values()

DatetimeIndex.sort_values(return_indexer=False, ascending=True) [source] Return sorted copy of Index

DatetimeIndex.sortlevel()

DatetimeIndex.sortlevel(level=None, ascending=True, sort_remaining=None) [source] For internal compatibility with with the Index API Sort the Index. This is for compat with MultiIndex Parameters: ascending : boolean, default True False to sort in descending order level, sort_remaining are compat parameters Returns: sorted_index : Index

DatetimeIndex.sort()

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

DatetimeIndex.snap()

DatetimeIndex.snap(freq='S') [source] Snap time stamps to nearest occurring frequency

DatetimeIndex.slice_locs()

DatetimeIndex.slice_locs(start=None, end=None, step=None, kind=None) [source] Compute slice locations for input labels. Parameters: start : label, default None If None, defaults to the beginning end : label, default None If None, defaults to the end step : int, defaults None If None, defaults to 1 kind : {?ix?, ?loc?, ?getitem?} or None Returns: start, end : int

DatetimeIndex.slice_indexer()

DatetimeIndex.slice_indexer(start=None, end=None, step=None, kind=None) [source] Return indexer for specified label slice. Index.slice_indexer, customized to handle time slicing. In addition to functionality provided by Index.slice_indexer, does the following: if both start and end are instances of datetime.time, it invokes indexer_between_time if start and end are both either string or None perform value-based selection in non-monotonic cases.

DatetimeIndex.size

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

DatetimeIndex.shift()

DatetimeIndex.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