title: Trouble reading excel file in python
body: <p>I have an Excel file which has numerical data of a matrix of dimension <code>30 x 30</code>. I am trying to read it and access individual element as normally done. But I am getting a list instead of a single element.</p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>import pandas as pd
  import numpy as np
  
  xl  = pd.ExcelFile('sample.xlsx')
  df1 = xl.parse('Sheet1')
  
  data = np.matrix(df1)
  print(data.shape)
  
  print(data[0])
  print(data[0][0])
  </code></pre>
  
  <p><strong>Output</strong></p>
  
  <pre><code>(30, 30)
  [[ 0  0  7  0  4  0  3  0  0  7  4  0  0  0  3  2  0  0  0  0  4  0  0  0
     0  0  4  0 10  3]]
  [[ 0  0  7  0  4  0  3  0  0  7  4  0  0  0  3  2  0  0  0  0  4  0  0  0
     0  0  4  0 10  3]]
  </code></pre>
  
  <p>Any thoughts</p>