Calculate slice bound that corresponds to given label.
Returns leftmost (one-past-the-rightmost if side=='right') position of given label.
side=='right'
Index of label.
previous
pandas.Index.get_loc
next
pandas.Index.get_value