given a dataset with 2 columns:
| col1 | col2 |
| 1 | 2 |
| 2 | 2 |
| 1 | 2 |
| 1 | 2 |
I would like to add a column with the sum of col1 and col2
| col1 | col2 | col3 |
| 1 | 2 | 3 |
| 2 | 2 | 4 |
| 1 | 2 | 3 |
| 1 | 2 | 3 |
I have found this question which basically seems to do exactly the same but in Scala.
Any tip?