嗨,我最近开始学习python进行数据分析,但是我无法读取this link中的数据
我使用这个:
import pandas ad pd
df = pd.read_excel('SymbolTrade_IRO1FOLD0001.xls')
我得到这个错误:
文件“ C:/Users/kiyan/PycharmProjects/test/test'.py”,第2行,在 df = pd.read_excel('SymbolTrade_IRO1FOLD0001.xls')
read_excel中的第304行“ C:\ Users \ kiyan \ PycharmProjects \ test \ venv \ lib \ site-packages \ pandas \ io \ excel_base.py” io = ExcelFile(io,engine = engine)
init 中的文件“ C:\ Users \ kiyan \ PycharmProjects \ test \ venv \ lib \ site-packages \ pandas \ io \ excel_base.py”,第821行 self._reader = self._enginesengine
文件“ C:\ Users \ kiyan \ PycharmProjects \ test \ venv \ lib \ site-packages \ pandas \ io \ excel_xlrd.py”,第21行, init super()。初始化(文件路径或缓冲区)
init 中的第353行“ C:\ Users \ kiyan \ PycharmProjects \ test \ venv \ lib \ site-packages \ pandas \ io \ excel_base.py” self.book = self.load_workbook(filepath_or_buffer)
load_workbook中的文件“ C:\ Users \ kiyan \ PycharmProjects \ test \ venv \ lib \ site-packages \ pandas \ io \ excel_xlrd.py”,第36行 返回open_workbook(filepath_or_buffer)
open_workbook中的第111行,文件“ C:\ Users \ kiyan \ PycharmProjects \ test \ venv \ lib \ site-packages \ xlrd__init __。py” 打开(文件名,“ rb”)为f:
FileNotFoundError:[错误2]没有这样的文件或目录:'SymbolTrade_IRO1FOLD0001.xls'