In [1]:
import csv
def theParser(filename):
    theFile = open(filename)
    theReader = csv.reader(theFile)
    theData = list(theReader)
    return theData

In [2]:
theParser('correlation_causality.csv')


---------------------------------------------------------------------------
IOError                                   Traceback (most recent call last)
<ipython-input-2-92e64db589a8> in <module>()
----> 1 theParser('correlation_causality.csv')

<ipython-input-1-b5fb77cbddfd> in theParser(filename)
      1 import csv
      2 def theParser(filename):
----> 3     theFile = open(filename)
      4     theReader = csv.reader(theFile)
      5     theData = list(theReader)

IOError: [Errno 2] No such file or directory: 'correlation_causality.csv'

In [ ]:
theParser('correlation-causality.csv')