title: Numpy Advanced Indexing with 1D array
body: <p>So given a 1D array like</p>
  
  <pre><code>x = np.array([0,1,2,3,4,5,6,7,8,9])
  </code></pre>
  
  <p>I want to index multiple elements at the same time. For example instead of </p>
  
  <pre><code>x[1]
  x[2]
  </code></pre>
  
  <p>I want to use </p>
  
  <pre><code>x[(1,2)]
  Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  IndexError: too many indices for array
  </code></pre>
  
  <p>It works for 1 2D array like for example</p>
  
  <pre><code>x = np.array([[1,2,3,4],[5,6,7,8],[7,6,8,9]])
  &gt;&gt;&gt; x
  array([[1, 2, 3, 4],
         [5, 6, 7, 8],
         [7, 6, 8, 9]])
  &gt;&gt;&gt; x[(1,2),(1,3)]
  array([6, 9])
  &gt;&gt;&gt; x[(1,2),:]
  array([[5, 6, 7, 8],
         [7, 6, 8, 9]])
  </code></pre>
  
  <p>So as you can see, for nd-arrays it works fine!
  Any way to do this kind of indexing for 1d-arrays?</p>