Skip to content

BUG: Fix dtypes for read_json #42819

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 8 commits into from
Oct 4, 2021

Conversation

r-raymond
Copy link
Contributor

@r-raymond r-raymond commented Jul 30, 2021

@r-raymond r-raymond force-pushed the fix/read_json-dtypes branch from 06c9061 to 1e75718 Compare July 30, 2021 15:19
@r-raymond r-raymond marked this pull request as ready for review July 30, 2021 15:19
Copy link
Member

@mzeitlin11 mzeitlin11 left a comment

Choose a reason for hiding this comment

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

Thanks for the pr @r-raymond! Small comments, plus if you could please add a whatsnew note about this change targeting 1.4

@mzeitlin11 mzeitlin11 added Bug Dtype Conversions Unexpected or buggy dtype conversions IO JSON read_json, to_json, json_normalize labels Jul 31, 2021
@r-raymond r-raymond changed the title Fix dtypes for read_json BUG: Fix dtypes for read_json Jul 31, 2021
@r-raymond r-raymond requested a review from mzeitlin11 July 31, 2021 10:53
Copy link
Member

@mzeitlin11 mzeitlin11 left a comment

Choose a reason for hiding this comment

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

LGTM minus one small nit

@r-raymond r-raymond requested a review from mzeitlin11 August 1, 2021 14:01
@r-raymond
Copy link
Contributor Author

Ready to be merged from my side.

@jreback jreback added this to the 1.4 milestone Aug 5, 2021
@r-raymond
Copy link
Contributor Author

Seems like the tests are flaky, can we rerun them?

@jreback
Copy link
Contributor

jreback commented Aug 5, 2021

there is a failure on master, will merge when fixed

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2021

This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Sep 5, 2021
@mzeitlin11 mzeitlin11 removed the Stale label Sep 5, 2021
@mzeitlin11
Copy link
Member

@jreback greenish if still good to merge

@jreback
Copy link
Contributor

jreback commented Oct 4, 2021

can you merge master and ping on green

@r-raymond
Copy link
Contributor Author

ping @jreback

Thanks for keeping the ball rolling on this!

@mzeitlin11 mzeitlin11 merged commit 6a1c6b4 into pandas-dev:master Oct 4, 2021
@mzeitlin11
Copy link
Member

Thanks @r-raymond very nice!

gasparitiago pushed a commit to gasparitiago/pandas that referenced this pull request Oct 9, 2021
* Fix dtypes for read_json

* Address comments

* Add whatsnew entry

* Update doc/source/whatsnew/v1.4.0.rst

Co-authored-by: Matthew Zeitlin <[email protected]>

* Linting

Co-authored-by: Matthew Zeitlin <[email protected]>
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request Oct 10, 2021
* Fix dtypes for read_json

* Address comments

* Add whatsnew entry

* Update doc/source/whatsnew/v1.4.0.rst

Co-authored-by: Matthew Zeitlin <[email protected]>

* Linting

Co-authored-by: Matthew Zeitlin <[email protected]>
rs2 pushed a commit to rs2/pandas that referenced this pull request Nov 6, 2023
* Fix dtypes for read_json

* Address comments

* Add whatsnew entry

* Update doc/source/whatsnew/v1.4.0.rst

Co-authored-by: Matthew Zeitlin <[email protected]>

* Linting

Co-authored-by: Matthew Zeitlin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Dtype Conversions Unexpected or buggy dtype conversions IO JSON read_json, to_json, json_normalize
Projects
None yet
Development

Successfully merging this pull request may close these issues.

read_json ignores dictionary as dtype pd.read_json ignores 'category' dtypes
3 participants