So, I have a list with 25 scores, ranging from 60 to 500
lst= [60, 65, 89, 200, 220, 73, 340, 500.....65]
The lower the score, the better the score. I want to assign each of these scores a percentile that shows which scores are the best/ which are the worst. However, I'm not sure how to do this when the lower score is the better score (versus the higher score being the better score).
I think this would be an example for the opposite of what I'm looking for:
percentileofscore([1, 2, 3, 4], 3)
75.0
percentiles = [percentileofscore(data, i) for i in data]