-
Notifications
You must be signed in to change notification settings - Fork 131
Description
Hi,
Thanks for the wonderful articles and code. I tried to execute the code "python Stocks.py" and see the following errors.
Traceback (most recent call last):
File "Stocks.py", line 24, in
datasets = loadDatasets('/home/francesco/Dropbox/DSR/Project/datasets')
File "my-python/stocks/FraPochettiStocks/functions.py", line 34, in loadDatasets
out = pd.read_csv(name, index_col=0, parse_dates=True)
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 470, in parser_f
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 246, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 562, in init
self._make_engine(self.engine)
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 699, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 1066, in init
self._reader = _parser.TextReader(src, **kwds)
File "pandas/parser.pyx", line 350, in pandas.parser.TextReader.cinit (pandas/parser.c:3163)
File "pandas/parser.pyx", line 583, in pandas.parser.TextReader._setup_parser_source (pandas/parser.c:5779)
IOError: File /home/francesco/Dropbox/DSR/Project/datasets/procter.csv does not exist
The file /home/francesco/Dropbox/DSR/Project/datasets/procter.csv seems to be missing. Would you please help me to fix this issue?
Thanks & Regards,
Raja