Sorry I cant figure out how to drop duplicate values but horizontal. The function drop_duplicate does not have a index parameter.
So i have one dataframe
| contact | phone1 | phone2 | phone3 | phone4 |
|---|---|---|---|---|
| 1 | 1234 | 1234 | ||
| 2 | 12345 | 12345 |
And I want to have the following dataframe:
| contact | phone1 | phone2 | phone3 | phone4 |
|---|---|---|---|---|
| 1 | 1234 | |||
| 2 | 12345 |