Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.CategoricalIndex.get_slice_bound

CategoricalIndex.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 : string / None, the type of indexer