You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
df=qs.financial_statement('业绩预告')
Traceback (most recent call last):
File "", line 1, in
File "/mnt/lustre/home/ccz/.local/lib/python3.8/site-packages/qstock/data/fundamental.py", line 349, in financial_statement
return stock_yjyg(date)
File "/mnt/lustre/home/ccz/.local/lib/python3.8/site-packages/qstock/data/fundamental.py", line 619, in stock_yjyg
df.columns = ["序号","","代码", "简称","","公告日","报告日","_","预测指标",
File "/opt/anaconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 5588, in setattr
return object.setattr(self, name, value)
File "pandas/_libs/properties.pyx", line 70, in pandas._libs.properties.AxisProperty.set
File "/opt/anaconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 769, in _set_axis
self._mgr.set_axis(axis, labels)
File "/opt/anaconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 214, in set_axis
self._validate_set_axis(axis, new_labels)
File "/opt/anaconda3/lib/python3.8/site-packages/pandas/core/internals/base.py", line 69, in _validate_set_axis
raise ValueError(
ValueError: Length mismatch: Expected axis has 28 elements, new values have 25 elements
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: