i want of sequence of values to be written on new column based on previous columns
this is my dataframe df a b 11 15 32 35 i want output to be like this a