title: Creating a Dict for the name and a list of the values from a CSV file
body: <p>I'm a beginner at python and was trying to figure out a way to create a dict of names and a list of the values from a csv file. I came across this code online. It works, but i cant understand any of it.</p>
  <p>Any help would be much appreciated.</p>
  <p>my main areas where I'm feeling lost are the for loop, then strand = .... and finally curr_row = row.strip().split(',')]</p>
  <p>Code:</p>
  <pre><code>strands = []
  persons = {}
  
  for ind, row in enumerate(csv_file):
     if ind == 0:
         strand = [strand for strand in row.strip().split(',')][1:]
     else:
         curr_row = row.strip().split(',')
         persons[curr_row[0]] = [int(x) for x in curr_row[1:]]```
  
  the csv file looks like this:
  name,AGATC,AATG,TATC
  Alice,2,8,3
  Bob,4,1,5
  Charlie,3,2,5
  
  
  output : {'Alice': [2, 8, 3], 'Bob': [4, 1, 5], 'Charlie': [3, 2, 5]}
  
  
  </code></pre>