I have a dataframe like this:
A B C 1 32 nan nan 2 32 nan nan 3 nan nan 14 4 nan nan nan
my desired output is the