title: How do I view data object contents within an npz file?
body: <p>I am using Spyder IDE and Python 2.7.</p>
  
  <p>I have a npz file called data.npz which was given to me. I want to load this file into Spyder and view whatever is inside.</p>
  
  <p>To start I've done this:</p>
  
  <pre><code>import numpy as np
  data = np.load('data.npz')
  </code></pre>
  
  <p>In my Variable Explorer in Spyder, I have a variable with the name "data" and the type "object". When I double-click on this variable, Spyder gives an error saying "object arrays are currently not supported". </p>
  
  <p>When I just type</p>
  
  <pre><code>data
  </code></pre>
  
  <p>I get something like this:</p>
  
  <pre><code>array({'a': array([ 1,2,3, ...,
           4,5,6]), 'b': 10, 'c': array([-1,-2,-3]), 'd': 25, 'e': 1}, dtype=object)
  </code></pre>
  
  <p>How do I access 'a', 'b', 'c', 'd', etc?</p>