リンク内容の主要指標グラフの為替からグラフが出てくるのでそれをデータ表示する画面があるのでそれを exchange.csv として保存しました。
そしてこれを読み込むために以下のコードを打ったのですがエラーが生じました。原因を教えて下さい。
>>> import pandas as pd >>> pd.read_csv('exchange.csv', encoding='cp932') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/anaconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 678, in parser_f return _read(filepath_or_buffer, kwds) File "/anaconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 440, in _read parser = TextFileReader(filepath_or_buffer, **kwds) File "/anaconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 787, in __init__ self._make_engine(self.engine) File "/anaconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1014, in _make_engine self._engine = CParserWrapper(self.f, **self.options) File "/anaconda3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1708, in __init__ self._reader = parsers.TextReader(src, **kwds) File "pandas/_libs/parsers.pyx", line 384, in pandas._libs.parsers.TextReader.__cinit__ File "pandas/_libs/parsers.pyx", line 695, in pandas._libs.parsers.TextReader._setup_parser_source FileNotFoundError: File b'exchange.csv' does not exist
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2019/03/01 06:59
2019/03/01 07:03
退会済みユーザー
2019/03/01 07:06
2019/03/01 07:11
退会済みユーザー
2019/03/01 07:37
2019/03/01 07:51
退会済みユーザー
2019/03/04 13:44