where I found this option in other languages such as R or SQL, but I'm not quite sure how to do this in Pandas.
So, I have a file with 1262 columns and 1 row, and for the column headings I need to return every time a certain value appears.
Say, for example, this test frame:
Date col1 col2 col3 col4 col5 col6 col7 01/01/2016 00:00 37.04 36.57 35.77 37.56 36.79 35.90 38.15
And I need to find the column name, for example. where value = 38.15. What is the best way to do this?
thanks
source share