title: How to get elements for non-contiguous indices in a numpy array?
body: <p>Suppose I have a numpy array:</p>
  
  <p><code>arr = np.array([1,2,3,4,4,5,3,2,10])</code></p>
  
  <p>and an indices array:</p>
  
  <p><code>indices = np.array([0,1,4,6])</code></p>
  
  <p>I could write a simple function that does the job, but I was wondering if numpy has a built-function like <code>np.get(arr, indices)</code> which returns, in this case, <code>np.array([1,2,4,3]</code>.</p>