title: array = np.int(array) TypeError: only length-1 arrays can be converted to Python scalars
body: <pre><code>array = df.as_matrix()
  array = np.int(array)
  </code></pre>
  
  <p>I tried:</p>
  
  <pre><code>array = np.int(array)
  </code></pre>
  
  <p>for :</p>
  
  <pre><code>array[i][10]/5
  </code></pre>
  
  <p>but got :</p>
  
  <blockquote>
    <p>array = np.int(array) TypeError: only length-1 arrays can be converted to Python scalars????</p>
  </blockquote>