I have a dataframe like this
column1 column2 column3 column4...columnn
1 xx cc Nan aa
2 xx cc gg aa
3 xx Nan gg aa
What I want to do is to add column1 to the other column in parallel and delete column1. I do not want to add column1 where values are Nan
So I want as output the following
column2 column3 column4...columnn
1xx 1cc Nan... 1aa
2xx 2cc 2gg... 2aa
3xx Nan 3gg... 3aa
Any ideas?