You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/data/1.py", line 7, in <module>
df['SMA_5'] = ta.SMA(df['Close'], timeperiod=5)
File "/data/miniconda3/envs/a/lib/python3.10/site-packages/talib/__init__.py", line 64, in wrapper
result = func(*_args, **_kwds)
TypeError: Argument 'real' has incorrect type (expected numpy.ndarray, got DataFrame)
Describe bug
talib cannot accept dataframe as input:
It works for yf 0.2.44, but not work for 0.2.46+.
Simple code that reproduces your problem
Debug log
N/A
Bad data proof
No response
yfinance
version0.2.48
Python version
3.10.13
Operating system
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: