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