keep the unique value for each person.
I have DF
| name | size |
|---|---|
| john | 16 |
| khaled | 15 |
| john | 15 |
| Alex | 16 |
| john | 16 |
I need in the output to remove the duplicated value in color for each name.
| name | size |
|---|---|
| john | 16 |
| khaled | 15 |
| john | 15 |
| Alex | 16 |
What is the best function or library to do that?