In [36]: list(df['state']).index('ohio')Out[36]: 0In [37]: list(df['state']).index('nevada')Out[37]: 1