Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

[BUG] module 'pandas' has no attribute 'ewma' #181

Open
xerxes-k opened this issue Aug 6, 2023 · 0 comments
Open

[BUG] module 'pandas' has no attribute 'ewma' #181

xerxes-k opened this issue Aug 6, 2023 · 0 comments
Labels

Comments

@xerxes-k
Copy link

xerxes-k commented Aug 6, 2023

Describe the bug
A clear and concise description of what the bug is.

pd.ewma causing an error

To Reproduce
Steps to reproduce the behavior:

indicators.py
line 298

def rolling_weighted_mean(series, window=200, min_periods=None):
min_periods = window if min_periods is None else min_periods
try:
return series.ewm(span=window, min_periods=min_periods).mean()
except Exception as e: # noqa: F841
return pd.ewma(series, span=window, min_periods=min_periods)

@xerxes-k xerxes-k added the bug label Aug 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant