xorbits.pandas.Index.get_slice_bound#
- Index.get_slice_bound(label, side: Literal['left', 'right']) int[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'}) –
- Returns
Index of label.
- Return type
int
Warning
This method has not been implemented yet. Xorbits will try to execute it with pandas.
This docstring was copied from pandas.core.indexes.base.Index.