title: How to create dict using csv file with first row as keys
body: <p>I'd like to create a list of dictionaries reading from a large csv file that uses the entries from the first row as keys. for example, test.csv</p>
  
  <pre><code>Header1, Header2, Header3
  A,       1,       10
  B,       2,       20
  C,       3,       30
  </code></pre>
  
  <p>The resulting dict would look like:</p>
  
  <pre><code>MyList = [{'Header1': A, 'Header2': 1, 'Header3: 10}, {'Header1': B,     'Header2': 2, 'Header3: 20}, {'Header1': C, 'Header2': 3, 'Header3: 30}]
  </code></pre>
  
  <p>I know how to read a file, and think maybe a defaultdict from collections might be a good way, but can't get the syntax right.</p>