-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
deprecation warning importing pandas (python2.7 only) #19944
Comments
Huh. This only affects released versions. Adding a simplefilter to that from warnings import catch_warnings, simplefilter
with catch_warnings(record=True):
simplefilter('ignore', FutureWarning)
import json
import sys |
these are going away soon anyhow (0.24). #15537 |
Hey all - just checkin if this issue is closed? I am looking to pick something for a beginner. thank you! Is there a way to know an issue is fixed and closed? |
This issue is still open, but instead of fixing the warning with the solution mentioned above (#19944 (comment)), I think we would rather just remove the |
Hi there, is anyone currently working on this one? Can I get a try on this last suggestion from @jorisvandenbossche? |
Looks like no one is working on it, feel free to take it @vitoriahmc. Let us know if you need help getting started. |
Code Sample:
Problem description
I help with a package that wants to run our tests with
PYTHONWARNINGS=error::FutureWarning
, so that we can learn about changes in our dependencies and can avoid passing on deprecation warnings to our users. When we turn this on,import pandas
gives us an error.It looks like
_version.py
(autogenerated as part of your release process?) includes animport json
that's interpreted (incorrectly) as referring to the oldpandas.json
.Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: