Skip to content

BUG: read_json raising with table orient and NA values #50332

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 2 commits into from
Dec 19, 2022

Conversation

phofl
Copy link
Member

@phofl phofl commented Dec 17, 2022

@phofl phofl added IO JSON read_json, to_json, json_normalize NA - MaskedArrays Related to pd.NA and nullable extension arrays labels Dec 17, 2022
@@ -876,6 +876,7 @@ I/O
- Bug when a pickling a subset PyArrow-backed data that would serialize the entire data instead of the subset (:issue:`42600`)
- Bug in :func:`read_sql_query` ignoring ``dtype`` argument when ``chunksize`` is specified and result is empty (:issue:`50245`)
- Bug in :func:`read_csv` for a single-line csv with fewer columns than ``names`` raised :class:`.errors.ParserError` with ``engine="c"`` (:issue:`47566`)
- Bug in :func:`read_json` raising with ``orient="table"`` with ``NA`` value (:issue:`40255`)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- Bug in :func:`read_json` raising with ``orient="table"`` with ``NA`` value (:issue:`40255`)
- Bug in :func:`read_json` raising with ``orient="table"`` and ``NA`` value (:issue:`40255`)

@gfyoung
Copy link
Member

gfyoung commented Dec 18, 2022

LGTM, not sure what's going on with GH Actions

@mroeschke mroeschke added this to the 2.0 milestone Dec 19, 2022
@mroeschke mroeschke merged commit 44fc0fd into pandas-dev:main Dec 19, 2022
@mroeschke
Copy link
Member

Thanks @phofl (I think you fixed the unrelated issue on main)

@phofl phofl deleted the 40255 branch December 19, 2022 18:58
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 NA - MaskedArrays Related to pd.NA and nullable extension arrays
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: missing values encoded in pandas.Int64Dtype not supported by json table scheme
3 participants