So I am working on the below dataframe:
What I am trying to do is merge the numeric values of 2 columns ('elected_in' & 'campaigned_in_') into a new column.
This column should look like this
new_column
- 007
- NaN
- 043
- 275
- 027
- etc
Any tips on how to do this at all? Found all the stack overflow answers not quite pertaining to this and I am also not sure what terminology to use...
Thanks for your help in advance.