Here is my data frame, I have split into the new columns.
DocID 0 1 2 3 4 5
CAT123 CAT 1 12 123 123 123
DOG14567 DOG 1 14 145 1456 14567
BIRD32 BIRD 3 32 32 32 32
and I would like to delete the duplicated value and see the results like this
DocID 0 1 2 3 4 5
CAT123 CAT 1 12 123 Nan Nan
DOG14567 DOG 1 14 145 1456 14567
BIRD32 BIRD 3 32 Nan Nan Nan
how can I do this, I know only drop row or columns. thank you in advance