-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
FutureWarning: from base.py : _empty_series = pd.Series() #1836
Comments
Yeh thank you @mreiche - Arch is very out of date for some reason - 1.5.3 |
here are lots of version restrictions on building pandas (2.2.0 or git head) so be bit of a pain for me to do - think I'll wait for arch to update. So, should we close this ? |
You could try something like suppressing |
I put this in my application - added these lines (import warnings and import pandas ::
and then at the top of main I put:
then run my program - still emits same warning in yf but not from my dummy
|
Is there a reason not to follow the suggestion and simply add dtype to the pd.Series() line? |
The reason here is, that Try import warnings
warnings.simplefilter(action='ignore', category=FutureWarning)
import yfinance as yf Unfortunately, |
IMHO, it's outdated and fixed in current versions. Why beeing upwards-compatible for these edge cases? It's not my decision to support |
Okidok - moving the warning above import as you suggest works fine too. thanks Yeh I am fine with ignoring outdated stuff too. It's rare for arch to be this far behind on package. |
@gene-git FYI, I'm using Alpine in my experimental branch and I was able to install newer versions of pandas using the # cat /etc/alpine-release
3.19.0
# pip list | grep pandas
pandas 2.1.4 |
FYI - today I started getting this warning from latest git ::
The text was updated successfully, but these errors were encountered: