title: How can i properly read my csv data?
body: <p>My data was like this :</p>
  
  <pre><code>{'yMax': u'156', 'xMax': u'4802', 'xMin': u'4770','yMin': u'141', 'id': '1', 'name': ''}
  {'yMax': u'157', 'xMax': u'4895', 'xMin': u'4810','yMin': u'141', 'id': '2', 'name': ''}
  </code></pre>
  
  <p>in a <code>.txt</code> file, i had to change it per the requirement to a <code>.csv</code> file it now looks like this:</p>
  
  <pre><code>image     id    name    xMin    xMax    yMin    yMax
  1-0.png   1             4770    4802    141     156
  1-0.png   2             4810    4895    141     157
  </code></pre>
  
  <p>i used to read my <code>.txt</code> file using :</p>
  
  <pre><code>import ast
  file = open("1-0.txt", 'r')
      labels1 = []
      for line in file.readlines():
          dicObj = ast.literal_eval(line.strip('\n'))
          labels1.append(dicObj)
  </code></pre>
  
  <p>basically as a list of dictionaries after transforming the string shaped <code>{}</code> in my txt file to dics. How can i now read the data from my new csv file that i described its shape above ?</p>