I would like to fill missing values in one column with values from another column, using fillna method.
(I read that looping through each row would be very bad practice and that it would be better to do everything in one go but I could not find out how to do it with fillna.)
Data before:
Day Cat1 Cat2
1 cat mouse
2 dog elephant
3 cat giraf
4 NaN ant
Data after:
Day Cat1 Cat2
1 cat mouse
2 dog elephant
3 cat giraf
4 ant ant