pandas.TimedeltaIndex.get_slice_bound
-
TimedeltaIndex.get_slice_bound(label, side, kind)
[source] -
Calculate slice bound that corresponds to given label.
Returns leftmost (one-past-the-rightmost if
side=='right'
) position of given label.Parameters: label : object
side : {‘left’, ‘right’}
kind : {‘ix’, ‘loc’, ‘getitem’}
© 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.22.0/generated/pandas.TimedeltaIndex.get_slice_bound.html