In the context of a study on statistical methods and also in the drafting of a report, I find myself confronted with a problem. I want to remove duplicates from a table by keeping only the last one.
For example, if I have :
| Var1 | Var2 |
|---|---|
| 1 | F |
| 2 | H |
| 2 | F |
| 3 | H |
I want :
| Var1 | Var2 |
|---|---|
| 1 | F |
| 2 | F |
| 3 | H |