title: load csv file to numpy and access columns by name
body: <p>I have a <code>csv</code> file with headers like:</p>
  
  <p>Given this <code>test.csv</code> file:</p>
  
  <pre><code>"A","B","C","D","E","F","timestamp"
  611.88243,9089.5601,5133.0,864.07514,1715.37476,765.22777,1.291111964948E12
  611.88243,9089.5601,5133.0,864.07514,1715.37476,765.22777,1.291113113366E12
  611.88243,9089.5601,5133.0,864.07514,1715.37476,765.22777,1.291120650486E12
  </code></pre>
  
  <p>I simply want to load it as a matrix/ndarray with 3 rows and 7 columns and also I want to access the <code>column vectors</code> from a given <code>column name</code>.  If I use <code>genfromtxt</code> (like shown below) I get an ndarray with 3 rows (one per line) and no columns.</p>
  
  <pre><code>r = np.genfromtxt('test.csv',delimiter=',',dtype=None, names=True)
  print r
  print r.shape
  
  [ (611.88243, 9089.5601000000006, 5133.0, 864.07514000000003, 1715.3747599999999, 765.22776999999996, 1291111964948.0)
   (611.88243, 9089.5601000000006, 5133.0, 864.07514000000003, 1715.3747599999999, 765.22776999999996, 1291113113366.0)
   (611.88243, 9089.5601000000006, 5133.0, 864.07514000000003, 1715.3747599999999, 765.22776999999996, 1291120650486.0)]
  (3,)
  </code></pre>
  
  <p>I can get column vectors from column names like this:</p>
  
  <pre><code>print r['A']
    [ 611.88243  611.88243  611.88243]
  </code></pre>
  
  <p>If, I use <code>load.txt</code> then I get the array with 3 rows and 7 columns but cannot access <code>columns</code> by using the <code>column</code> names (like shown below). </p>
  
  <pre><code>numpy.loadtxt(open("test.csv","rb"),delimiter=",",skiprows=1)
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>  [ [611.88243,9089.5601,5133.0,864.07514,1715.37476,765.22777,1.291111964948E12]
      [611.88243,9089.5601,5133.0,864.07514,1715.37476,765.22777,1.291113113366E12]
      [611.88243,9089.5601,5133.0,864.07514,1715.37476,765.22777,1.291120650486E12] ]
  </code></pre>
  
  <p>Is there any approach in <code>Python</code> that I can achieve both the requirements together (<code>access columns by coluumn name like np.genfromtext and have a matrix like np.loadtxt</code>)?</p>