-
Notifications
You must be signed in to change notification settings - Fork 260
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
df=qs.north_money('个股',5)报错无法执行 #36
Comments
ValueError Traceback (most recent call last) File c:\program files\python\lib\site-packages\qstock\data\money.py:142, in north_money(flag, n) File c:\program files\python\lib\site-packages\qstock\data\money.py:232, in north_money_stock(n) File c:\program files\python\lib\site-packages\pandas\core\generic.py:5915, in NDFrame.setattr(self, name, value) File c:\program files\python\lib\site-packages\pandas_libs\properties.pyx:69, in pandas._libs.properties.AxisProperty.set() File c:\program files\python\lib\site-packages\pandas\core\generic.py:823, in NDFrame._set_axis(self, axis, labels) File c:\program files\python\lib\site-packages\pandas\core\internals\managers.py:230, in BaseBlockManager.set_axis(self, axis, new_labels) File c:\program files\python\lib\site-packages\pandas\core\internals\base.py:70, in DataManager._validate_set_axis(self, axis, new_labels) ValueError: Length mismatch: Expected axis has 44 elements, new values have 43 elements |
#北向资金增持个股情况
#有个小bug,列名没有对应起来,该函数调用将报错,将在新版本中修正。
df=qs.north_money('个股',5)
#df.tail()
报错无法执行:
The text was updated successfully, but these errors were encountered: