DatetimeIndex.slice_indexer()
pandas.DatetimeIndex.slice_indexer
-
DatetimeIndex.slice_indexer(start=None, end=None, step=None, kind=None)
-
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
andend
are instances ofdatetime.time
, it invokesindexer_between_time
- if
start
andend
are both either string or None perform value-based selection in non-monotonic cases.
- if both
© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.18.1/generated/pandas.DatetimeIndex.slice_indexer.html