Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: File b'AAPL.csv' does not exist #17

Open
smileyung opened this issue Jul 18, 2018 · 0 comments
Open

FileNotFoundError: File b'AAPL.csv' does not exist #17

smileyung opened this issue Jul 18, 2018 · 0 comments

Comments

@smileyung
Copy link

when I run habrahabr.ipynb, I get the error message about b'AAPL.csv' doesn't exist,
may I have the 'AAPL.csv' file? thanks

FileNotFoundError Traceback (most recent call last)
in ()
----> 1 data = pd.read_csv('AAPL.csv')[::-1]
2 data = data.ix[:, 'Adj Close'].tolist()
3
4 # Uncomment below to use price change time series
5 # data = data.ix[:, 'Adj Close'].pct_change().dropna().tolist()

/home/smilewater/anaconda3/envs/tensorflow-gpu/lib/python3.6/site-packages/pandas/io/parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, escapechar, comment, encoding, dialect, tupleize_cols, error_bad_lines, warn_bad_lines, skipfooter, skip_footer, doublequote, delim_whitespace, as_recarray, compact_ints, use_unsigned, low_memory, buffer_lines, memory_map, float_precision)
653 skip_blank_lines=skip_blank_lines)
654
--> 655 return _read(filepath_or_buffer, kwds)
656
657 parser_f.name = name

/home/smilewater/anaconda3/envs/tensorflow-gpu/lib/python3.6/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
403
404 # Create the parser.
--> 405 parser = TextFileReader(filepath_or_buffer, **kwds)
406
407 if chunksize or iterator:

/home/smilewater/anaconda3/envs/tensorflow-gpu/lib/python3.6/site-packages/pandas/io/parsers.py in init(self, f, engine, **kwds)
762 self.options['has_index_names'] = kwds['has_index_names']
763
--> 764 self._make_engine(self.engine)
765
766 def close(self):

/home/smilewater/anaconda3/envs/tensorflow-gpu/lib/python3.6/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
983 def _make_engine(self, engine='c'):
984 if engine == 'c':
--> 985 self._engine = CParserWrapper(self.f, **self.options)
986 else:
987 if engine == 'python':

/home/smilewater/anaconda3/envs/tensorflow-gpu/lib/python3.6/site-packages/pandas/io/parsers.py in init(self, src, **kwds)
1603 kwds['allow_leading_cols'] = self.index_col is not False
1604
-> 1605 self._reader = parsers.TextReader(src, **kwds)
1606
1607 # XXX

pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader.cinit (pandas/_libs/parsers.c:4209)()

pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._setup_parser_source (pandas/_libs/parsers.c:8873)()

FileNotFoundError: File b'AAPL.csv' does not exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant