bigframes.pandas.DatetimeIndex.get_loc#
- DatetimeIndex.get_loc(key) int | slice | Series#
Get integer location, slice or boolean mask for requested label.
- Parameters:
key – The label to search for in the index.
- Returns:
An integer, slice, or boolean mask representing the location(s) of the key.
- Raises:
NotImplementedError – If the index has more than one level.
KeyError – If the key is not found in the index.