xarray.CFTimeIndex.get_slice_bound
xarray.CFTimeIndex.get_slice_bound
-
CFTimeIndex.
get_slice_bound
(label, side, kind=<no_default>)[source]
Calculate slice bound that corresponds to given label.
Returns leftmost (one-past-the-rightmost if side=='right'
) position
of given label.
- Parameters
-
- Returns
int
– Index of label.