-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Create helper function in pandas/tests/io/json/test_pandas.py #28555
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
Comments
I am pretty new to Github but this sounds like something I can do. First, let me check: Is this the kind of method you are looking for?
Or should the function create "result" and "expected" from a passed dataframe? |
@bganglia that looks good. Probably can just make at module level instead of class so no need for |
@WillAyd Thank you. I will put the code at the module level instead. @amcnulty93 We are both in the same boat, so there is probably a way that we can work on it together. |
@bganglia if you already have a PR probably easiest to just push that against master here. This is a fairly simple change so don't want to overcomplicate things @amcnulty93 great that you want to contribute! There are a ton of other |
A lot of the tests in that module repeat the following pattern:
This is because the
records
andvalues
formats intentionally do not completely preserve the axes labels. It would be nice to refactor this into a dedicated helper function (assert_json_roundtrip_equal
?)The text was updated successfully, but these errors were encountered: