I have a DataFrame:
id_1  |   value
 1          6
 1          5
 1          2
 2          1
 3          2
 3          4
...        ...
 
I wish to remove the duplicates of id_1 so that there would be distinct id's. I want that the row that contains the higher value will remain.
output:
id_1  |   value
 1          6
 2          1
 3          4
...        ...
It's quite straightforward to solve when iterating over the rows. But is there a way to do it without using a for loop?
