title: TypeError: iteration over a 0-d array, using numpy
body: <p>I'm using this code, straight from the scikit-learn page. It creates a dictionary:</p>
  
  <pre><code>symbol_dict = {
      'TOT': 'Total',
      'XOM': 'Exxon',
      'CVX': 'Chevron',}
  symbols, names = np.array(symbol_dict.items()).T
  </code></pre>
  
  <p>But I get an error:</p>
  
  <pre><code>TypeError: iteration over a 0-d array
  </code></pre>
  
  <p>This code is straight from the example code, so I have no idea what's going wrong.</p>