-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yearly pivots causes error with pandas 2.x #732
Comments
Hello @derenderen, Pandas TA is still being developed with Pandas v1.4+ to support many others using older versions of Pandas and Python. Unfortunately this library is not quite up to Pandas v2.x and needs much more support to progress and to cover more versions. 😐 Why Pandas 2.x offset aliases is not working as intended is beyond me as they look similar to Pandas 1.x offset aliases. 🤷🏼♂️ Perhaps the original pivots author @hamedf62 may have knowledge on how to address this issue. Kind Regards |
The issue comes about because both the PR Raised |
Hi @twopirllc, I'm just browsing to see if there are any issues i can help with and noticed this is still open. Can it be closed following the merge of the PR? |
Yeah probably. Can always reopen later if still unresolved. Thanks for looking out. 😎 |
Which version are you running? The lastest version is on Github. Pip is for major releases.
0.4.4b0
pandas version: pandas 2.0.3
Do you have TA Lib also installed in your environment?
NO.
Have you tried the development version? Did it resolve the issue?
Using development version.
Describe the bug
Whenever i try to create yearly pivot points i receive error:
500 days of stock data.
pivots = ta.pivots(df['Open'],df['High'],df['Low'],df['Close'],anchor='Y',method='fibonacci')
Setting 'Y' for anchor returns error. It says 'M' is also depreciated. However it works fine if i set 'M' for anchor value.
The text was updated successfully, but these errors were encountered: