import dolphindb报错:AttributeError: module 'pandas' has no attribute 'NA'

在iQuant里import dolphindb,报错:AttributeError: module 'pandas' has no attribute 'NA'。python版本3.6.8,其他版本:"Successfully installed dolphindb-1.30.21.1 future-0.18.3 numpy-1.19.5 pandas-1.1.5 python-dateutil-2.8.2 pytz-2022.7.1 six-1.16.0"

报错文件:        File "D:/iQuant/bin.x64\lib\site-packages\dolphindb\session.py", line 29, in <module>

                               ddbcpp.init()

请先 登录 后评论

3 个回答

wale

请问pandas装了哪个版本?建议升级一下pandas版本。我这边试了没问题:


attachments-2023-03-kyn5pOKX63feb2337fcb7.png

请先 登录 后评论
Polly

根据报错 AttributeError: module 'pandas' has no attribute 'NA',我查了一下 pandas 的 release,pd.NA 是 pandas v1.2.0 为新的浮点类型设置的空值表示方法。建议升级 pandas 到更高的版本试试。

attachments-2023-03-IqlMhcBu63feb3820f4bc.png

请先 登录 后评论
挖宝啦

同样的问题   pandas升级了 会不兼容iquant

请先 登录 后评论
  • 3 关注
  • 0 收藏,680 浏览
  • Gaxia320 提出于 2023-02-28 17:53

相似问题