I have a dataframe (df):
a b c d
0 G1 G2 G3 G4
1 1 2 3 4
I'd like to get the whole column data based on certain cell index (0) and cell content (G3) value:
input:
search("G3", df, 0)
output something like:
["c", "G3", 3]
How would you do that?