0
定义的时间间隔
def read_yahoo_data(fname):
pd.read_csv(fname, index_col=0, na_values="null").dropna()
日本和美国股票
toyota = read_yahoo_data('/Users/chenyuhan/Downloads/yahoo_finance/TM.csv')
mitsui = read_yahoo_data('/Users/chenyuhan/Downloads/yahoo_finance/MTU.csv')
mitsubishi = read_yahoo_data('/Users/chenyuhan/Downloads/yahoo_finance/MITSY.csv')
apple = read_yahoo_data('/Users/chenyuhan/Downloads/yahoo_finance/APPL.csv')
msft = read_yahoo_data('/Users/chenyuhan/Downloads/yahoo_finance/MSFT.csv')
hpq = read_yahoo_data('/Users/chenyuhan/Downloads/yahoo_finance/HPQ.csv')
nikkei = read_yahoo_data('/Users/chenyuhan/Downloads/yahoo_finance/^N225.csv')
sp500 = read_yahoo_data('/Users/chenyuhan/Downloads/yahoo_finance/^GSPC.csv')
GET大熊猫数据这是我使用的代码和路径文件应该是真实的。 我正在使用MacOS。我如何可以解决Jupyter笔记本FileNotFound错误,Python3