We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
遇到任何问题,请先确认您的 AKShare 版本是最新的
pip install akshare --upgrade # Python 版本需要大于等于 3.8
描述遇到的问题
File "/home/jx/.pyenv/versions/3.12.2/envs/venv_3.12.2/lib/python3.12/site-packages/akshare/bond/bond_zh_sina.py", line 128, in bond_zh_hs_daily data_df["date"] = pd.to_datetime(data_df["date"], errors="coerce").dt.date ~~~~~~~^^^^^^^^ File "/home/jx/.pyenv/versions/3.12.2/envs/venv_3.12.2/lib/python3.12/site-packages/pandas/core/frame.py", line 4090, in __getitem__ indexer = self.columns.get_loc(key) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/jx/.pyenv/versions/3.12.2/envs/venv_3.12.2/lib/python3.12/site-packages/pandas/core/indexes/range.py", line 417, in get_loc raise KeyError(key) KeyError: 'date'
The text was updated successfully, but these errors were encountered:
4. bond_zh_hs_daily
接口测试正常
Sorry, something went wrong.
No branches or pull requests
遇到任何问题,请先确认您的 AKShare 版本是最新的
描述遇到的问题
获取债券历史数据的接口成功率不高,需要优化或开始寻找其他替代数据源
The text was updated successfully, but these errors were encountered: