This is the sample data provided and I need to combine the columns to single column which consists of all the fruit names without any Nan Values and also total column should'nt be changed.
|Fruit1 | Fruit2| Fruit3| Total|
|:------ | :----:| :----:|-----:|
|NaN | Apple | NaN. | 20. |
|Pear | NaN | NaN. | 40. |
|NaN. | NaN | orange| 50. |
|Mango | NaN | NaN. | 43. |
|NaN | banana| NaN. | 35. |
This should be the output:
|Fruits | Total|
|------- | -----|
|Apple | 20. |
|Pear | 40. |
|Orange | 50. |
|Mango | 43. |
|banana | 35. |