首页 > 解决方案 > Python Pandas EMWA 模块不起作用?

问题描述

我正在尝试运行此脚本:

https://github.com/sshashank124/crypto-rsi-tracker/blob/master/rsi-tracker.py

我收到关于 Panda EWMA 的错误。我该如何解决?

ups_avg = pd.ewma(ups, span=RSI_N)[-1]
AttributeError: module 'pandas' has no attribute 'ewma'

我已经正确配置了 CONFIG.YML 文件

标签: pythonpandasmodule

解决方案


推荐阅读