For users
apply_ufunc
For developers/contributors
Community
CFTimeIndex.
get_slice_bound
Calculate slice bound that corresponds to given label.
Returns leftmost (one-past-the-rightmost if side=='right') position of given label.
side=='right'
label (object)
object
side ({'left', 'right'})
{'left', 'right'}
kind ({'loc', 'getitem'} or None)
{'loc', 'getitem'}
None
int – Index of label.
int