Index.get_slice_bound()

pandas.Index.get_slice_bound

Index.get_slice_bound(label, side, kind)

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’}

© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas devel