python - 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 文件
解决方案
推荐阅读
- r - 如何一次可视化“许多”类别的标签?
- javascript - 保持一个
- 重新加载后展开以保持展开?
- android - 如何使我的 Android 应用符合《加州消费者隐私法》?
- java - 使用 gradle 6 执行动态 gradle 任务
- docker - 引用 Dockerfile 中包含换行符的文件名
- weblogic - com.tangosol.net.RequestPolicyException:服务 PartitionedCache 不存在启用存储的节点
- r - 计算ggplot2中堆积条的累积和
- angularjs - 显示新弹出框时如何隐藏 Bootstrap 弹出框?
- laravel - 通过 Laravel Vue 表单中的对象传递数据
- python - django rest 框架中的最佳实现跟随和取消关注