cudf.Index.find_label_range#

Index.find_label_range(loc: slice) slice[source]#

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

Parameters:
loc

slice to search for.

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

Notes

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