I have a dataframe where the first column is time and other columns describe some characteristics. I would like to modify it so that for every time moment it prints the name of the column which is the biggest for that row:
time a b c d
0 4 8 3 7
1 3 7 1 8
2 1 0 9 2
time
0 b
1 d
2 c