Skip to content
New issue

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

fund_open_fund_info_em will crash while temp_df is empty #4378

Closed
liuweijiaCHN opened this issue Jan 2, 2024 · 1 comment
Closed

fund_open_fund_info_em will crash while temp_df is empty #4378

liuweijiaCHN opened this issue Jan 2, 2024 · 1 comment

Comments

@liuweijiaCHN
Copy link

akshare/fund/fund_em.py : 366 line:
temp_df["x"], unit="ms", utc=True
raise KeyError(key)
KeyError: 'x'

====================
suggest at 366 line:
if temp_df.empty:
return pd.DataFrame()

@albertandking
Copy link
Collaborator

akshare/fund/fund_em.py : 366 line: temp_df["x"], unit="ms", utc=True raise KeyError(key) KeyError: 'x'

==================== suggest at 366 line: if temp_df.empty: return pd.DataFrame()

感谢反馈问题,已修复该问题,升级到 AKShare 1.12.8 使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants