title: Dictionary in a numpy array?
body: <p>How do I access the dictionary inside the array?</p>
  
  <pre><code>import numpy as np
  x = np.array({'x': 2, 'y': 5})
  </code></pre>
  
  <p>My initial thought:</p>
  
  <pre><code>x['y']
  </code></pre>
  
  <blockquote>
    <p>Index Error: not a valid index</p>
  </blockquote>
  
  <pre><code>x[0]
  </code></pre>
  
  <blockquote>
    <p>Index Error: too many indices for array</p>
  </blockquote>