Skip to content

TST: added tests for to_json when called on complex data (GH41174) #43258

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

Merged
merged 1 commit into from
Aug 30, 2021

Conversation

lorenzophys
Copy link
Contributor

@lorenzophys lorenzophys commented Aug 27, 2021

Provided tests for to_json when called on complex data on both Series and DataFrame. Coefficients are both int and float.

Tests and linter pass locally.

Copy link
Member

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mroeschke mroeschke added IO JSON read_json, to_json, json_normalize Testing pandas testing functions or related to the test suite labels Aug 27, 2021
@mroeschke mroeschke added this to the 1.4 milestone Aug 27, 2021
@simonjayhawkins simonjayhawkins merged commit 755119a into pandas-dev:master Aug 30, 2021
@simonjayhawkins
Copy link
Member

Thanks @lorenzophys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO JSON read_json, to_json, json_normalize Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Unexpected output of to_json for complex data
3 participants