How is it possible to retrieve the labe of a particular value in a pandas Series object:
For example:
labels = ['a', 'b', 'c', 'd', 'e'] s = Series (arange(5) * 4 , labels) Which produces the Series:
a 0 b 4 c 8 d 12 e 16 dtype: int64 How is it possible to get the label of value '12'? Thanks