0

I will appreciate your assistance. I have a pandas DataFrame that has duplicate columns I need to merge/combine the contents to be under unique columns please see below my current DataFrame Structure and the desired one.

Current DF

AB XY AB XY
yyy xxx xrx zzz

Desired DF

AB XY
yyy xxx
xrx zzz

Thanks for the help

oyugi.collins
  • 65
  • 1
  • 8

0 Answers0