title: Scipy rankdata reverse highest to lowest
body: <p>What I am trying to achieve is a 'highest to lowest' ranking of a list of values, basically the reverse of rankdata</p>
  
  <p>So instead of:</p>
  
  <pre><code>a = [1,2,3,4,3,2,3,4]
  rankdata(a).astype(int)
  array([1, 2, 5, 7, 5, 2, 5, 7])
  </code></pre>
  
  <p>I want to get this:</p>
  
  <pre><code>array([7, 6, 3, 1, 3, 6, 3, 1])
  </code></pre>
  
  <p>I wasn't able to find anything in the rankdata documentation to do this.</p>