I have a panda dataframe (df) say
Col1 Col2 Col3
1 aaa ccc spam
2 bbb ddd ham
.....
I want to merge Col1 and Col2 into one coloumn along with Col3 in a new dataframe
I want this
Col_new Col3
1 aaa spam
2 bbb ham
3 ccc spam
4 ddd ham
any solution?
New contributor
Suvroneel Nathak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.