I have a dataset like below. Second column includes a unique number of the each organizations.There are some organizations that have the same name (like the last row)
org_name | org_uniq_nr | founder_rank | founder_name | amount_money |
---|---|---|---|---|
Zoho | 652 | 46 | n1 | m1 |
Zoho | 652 | 2389 | n2 | m2 |
a | 1901 | 1299 | n3 | m3 |
b | 88 | 776 | n4 | m4 |
c | 6965 | 991 | n5 | m5 |
b | 88 | 80 | n6 | m6 |
Zoho | 779 | 1445 | n7 | m7 |
I want to filter organizations that have the lower founder_rank value. eg: There are 2 rows that have the same org_uniq_nr (Zoho). But I want only one which has lower founder_rank. So the having higher founder_rank row should be deleted.
org_name | org_uniq_nr | founder_rank | founder_name | amount_money |
---|---|---|---|---|
Zoho | 106 | 46 | n1 | m1 |
a | 1901 | 1299 | n3 | m3 |
b | 88 | 776 | n4 | m4 |
c | 6965 | 991 | n5 | m5 |
Zoho | 779 | 1445 | n7 | m7 |