Row wise concatenation and replacing nan with common column values
Below is the input data df1 A B C D E F G Messi Forward Argentina 1 Nan 5 6 Ronaldo Defender Portugal Nan 4 Nan 3 Messi Midfield Argentina Nan 5 Nan 6 Ronaldo Forward Portugal 3 Nan 2 3 Mbappe Forward France 1 3 2 5 Below is the intended output df A… Read More Row wise concatenation and replacing nan with common column values