Having a list of numbers such as `[968, 233, 493, 5, 851, 224, 871, 396, 689, 862]` I would like to get a rank of each of them, where the highest number gets the lowest rank.

By using `scipy.stats.rankdata` I get this `array([10., 3., 5., 1., 7., 2., 9., 4., 6., 8.])`.

The problem is that the ranks are given assuming sorting the list in ascending order. How can I get the ranks assuming descending order of sorting given `rankdata` doesn't take this as a parameter?