DEV Community

Sherbin W
Sherbin W

Posted on

2 columns convert into the same one column using python r pandas .....

HII
I have 2 columns or 2 lists so I want to make 2 columns into 1 column with updated values.
x1 = [0,15,10,0,10]
x2 = [0,15,0,11,10]
i want to update x2 to xl using python or pandas
output be like
x1=[0,15,10,11,10]
can anyone help me

Top comments (0)

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, cherished by the supportive DEV Community. Coders of every background are encouraged to bring their perspectives and bolster our collective wisdom.

A sincere “thank you” often brightens someone’s day—share yours in the comments below!

On DEV, the act of sharing knowledge eases our journey and forges stronger community ties. Found value in this? A quick thank-you to the author can make a world of difference.

Okay