pandas se o valor presente no índice DF

i = 'g'
if i in df.index:
  print(i)
Trained Tuna