title: Python - Reading Specific column from csv file
body: <p>I want to read only first column from csv file. I tried the below code but didn't got the result from available solution.</p>
  
  <pre><code>data = open('data.csv')
  reader = csv.reader(data)
  interestingrows = [i[1] for i in reader]'
  </code></pre>
  
  <p>The error I got is:</p>
  
  <pre><code>Traceback (most recent call last):
      File "G:/Setups/Python/pnn-3.py", line 12, in &lt;module&gt;
           interestingrows = [i[1] for i in reader]
      File "G:/Setups/Python/pnn-3.py", line 12, in &lt;listcomp&gt;
           interestingrows = [i[1] for i in reader]
  IndexError: list index out of range
  </code></pre>