import pandas_datareader as pdr
alibaba=pdr.get_data_yahoo('BABA')
读取不到数据
报错
ConnectionError: HTTPSConnectionPool(host='finance.yahoo.com', port=443): Max retries exceeded with url: /quote/BABA/history (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000002425B19F588>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。',))
产品经理不是经理
相关分类