title: Find the second closest index to value
body: <p>I am using</p>
  
  <pre><code>index = (np.abs(array - value)).argmin()
  </code></pre>
  
  <p>to find the index in an array with the smallest absolute difference to a value.</p>
  
  <p>However, is there a nice clean way such as this for finding the <em>second</em> closest index to the value?</p>