I have
ID Field1 Field2 Field3 Field4
1 A 1 6 F
2 A 0 1 F
3 B 2 4 F
4 B 3 8 F
I want
ID Field1 Field2 Field3 Field4
1 A 1 1 F
4 B 3 4 F
I want to have 1 row per distinct 'Field1'. There are over 100 fields and rows are duplicated due to 'Field2' and 'Field3' (all other fields are the same like Field4).
In my final df I want the max of 'Field2' and min of 'Field3' to be returned.