Hi All,
I have a dataset with four 'types' and their 'counts' for example:
A = 4, B = 2, C = 0, D = 0
In order of ranking, D (is the most important) > C > B > A (lowest ranking).
If I have an output with:
A = 0, B = 1, C = 0 , D = 1
How do I script in Python to compare the string so that when B = D that the variable I capture will be D based on ranking?
Regards,
Craig