title: Create NumPy array from CSV file
body: <p>Using Python 3.3, I am trying to fill a <code>NumPy</code> array with contents from a <code>.CSV</code> file. The <code>.CSV</code> file has the following contents: </p>
  
  <pre><code>CellID  X   Y   Z   
  1230    1   1   0
  1231    2   1   0 
  1232    1   1   1
  </code></pre>
  
  <p>The first row contains a header and so it must be skipped. </p>
  
  <pre><code>import csv
  import numpy as np
  
  csv_fn = "input.csv"
  
  with open(csv_fn, "rb") as infile:
      reader = csv.reader(infile)
      next(reader, None)         # Skips the header? 
      x = list(reader) 
      result = np.array(x).astype("int")  # Converts to a matrix of int? 
  </code></pre>
  
  <p>The variable <code>result</code> doesn't seem to contain the expected values. I've tried to query the dimension using <code>result.shape</code>. </p>
  
  <p>How do I fix this code so it reads the contents into the array? </p>