-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPR: Deprecate numpy argument in read_json #30636
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
Conversation
Co-authored-by: Luca Ionescu <[email protected]>
pandas/tests/io/json/test_pandas.py
Outdated
# https://github.com/pandas-dev/pandas/issues/28512 | ||
expected = DataFrame([1, 2, 3]) | ||
with tm.assert_produces_warning(None): | ||
with catch_warnings(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you catching warnings here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep unsure why this was in #28562. Now simplified
setup.cfg
Outdated
@@ -66,6 +66,7 @@ xfail_strict = True | |||
filterwarnings = | |||
error:Sparse:FutureWarning | |||
error:The SparseArray:FutureWarning | |||
ignore: the 'numpy' keyword is deprecated:FutureWarning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't do this, instead wrap the appropriate tests
Can you merge master? |
done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm @jreback
friendly ping @jreback |
thanks @alimcmaster1 very nice! |
Co-authored-by: Luca Ionescu [email protected]
@lucaionescu - i've merged master and pushed to here (I don't have the permissions to push to your branch), I will aim to fix up the tests. Or feel free to take it from here if you have time?
Opening up WIP PR to see what test failures need addressing.
I've also co-authored the commit.