我正在使用 pandas 读取证券列表信息,但是发现我只能将 5 行加载到我的环境中,相同的代码在 colab 平台上运行良好。
这是我的代码片段
url = r'https://www.hkex.com.hk/eng/services/trading/securities/securitieslists/ListOfSecurities.xlsx'
df_list = pd.read_excel(url,skiprows=2,engine="openpyxl")
我的环境版本信息 python 3.9.1 (64 bit) pandas 1.2.1 openpyxl 3.0.6
这里有什么问题吗?请帮忙指教。谢谢!