hipdf.Index.find_label_range

hipdf.Index.find_label_range#

20 min read time

Applies to Linux

Index.find_label_range(loc: slice) slice#

Translate a label-based slice to an index-based slice

Parameters#

loc

slice to search for.

Notes#

As with all label-based searches, the slice is right-closed.

Returns#

New slice translated into integer indices of the index (right-open).