if dataframe df have two columns['A','B'],and i know in columns 'A' have one element 'hello',how can i get the index of 'hello'?
Asked
Active
Viewed 324 times
0
-
1Is [this](http://stackoverflow.com/questions/21800169/python-pandas-get-index-of-rows-which-column-matches-certain-value) what you are looking for? – alecxe Aug 26 '16 at 14:37
-
in dataframe which function can get element index if i know the element? – kimi.huang Aug 27 '16 at 01:52
-
i create a pandas dataframe ,the values of the dataframe get from HDF5 file,dataframe have columns['date','contract','isin','volumn','opneinterest'] ,if i know in column('isin') hava element 'A0901' ,how can i get the volumn,opneinterest of 'A0901' ? thank for any help – kimi.huang Aug 27 '16 at 02:14