I am writing a quick and dirty data sanitation script and I need to check that the data columns have the correct relative ranking.
The dataframe looks like this: