title: Read a .csv into pandas from F: drive on Windows 7
body: <p>I have a .csv file on my F: drive on Windows 7 64-bit that I'd like to read into pandas and manipulate.</p>
  
  <p>None of the examples I see read from anything other than a simple file name (e.g. 'foo.csv').</p>
  
  <p>When I try this I get error messages that aren't making the problem clear to me: </p>
  
  <pre><code>import pandas as pd
  
  trainFile = "F:/Projects/Python/coursera/intro-to-data-science/kaggle/data/train.csv"
  trainData = pd.read_csv(trainFile)
  </code></pre>
  
  <p>The error message says: </p>
  
  <pre><code>IOError: Initializing from file failed
  </code></pre>
  
  <p>I'm missing something simple here.  Can anyone see it?</p>
  
  <p>Update: </p>
  
  <p>I did get more information like this: </p>
  
  <pre><code>import csv
  
  if __name__ == '__main__':
      trainPath = 'F:/Projects/Python/coursera/intro-to-data-science/kaggle/data/train.csv'
      trainData = []
      with open(trainPath, 'r') as trainCsv:
          trainReader = csv.reader(trainCsv, delimiter=',', quotechar='"')
          for row in trainReader:
              trainData.append(row)
      print trainData
  </code></pre>
  
  <p>I got a permission error on read.  When I checked the properties of the file, I saw that it was read-only.  I was able to read 892 lines successfully after unchecking it.</p>
  
  <p>Now pandas is working as well.  No need to move the file or amend the path.  Thanks for looking.</p>