From a dataframe, how do I find the column number by lookup for a value in each row? For instance, a dataframe look like below:
A B C D 1 x1 x