hipdf.Index.get_slice_bound

hipdf.Index.get_slice_bound#

21 min read time

Applies to Linux

Index.get_slice_bound(label, side: Literal['left', 'right']) int#

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#

int

Index of label.