diff --git a/ci/code_checks.sh b/ci/code_checks.sh index c0dfbcc03b473..4809806657dff 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -76,7 +76,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.errors.SettingWithCopyWarning \ pandas.errors.SpecificationError \ pandas.errors.UndefinedVariableError \ - pandas.read_json \ pandas.io.formats.style.Styler.to_latex \ pandas.read_parquet \ pandas.DataFrame.to_sql \ diff --git a/pandas/io/json/_json.py b/pandas/io/json/_json.py index 4c490c6b2cda2..40b714984f93d 100644 --- a/pandas/io/json/_json.py +++ b/pandas/io/json/_json.py @@ -717,7 +717,7 @@ def read_json( "data":[["a","b"],["c","d"]]\ }}\ ' - >>> pd.read_json(StringIO(_), orient='split') + >>> pd.read_json(StringIO(_), orient='split') # doctest: +SKIP col 1 col 2 row 1 a b row 2 c d @@ -727,7 +727,7 @@ def read_json( >>> df.to_json(orient='index') '{{"row 1":{{"col 1":"a","col 2":"b"}},"row 2":{{"col 1":"c","col 2":"d"}}}}' - >>> pd.read_json(StringIO(_), orient='index') + >>> pd.read_json(StringIO(_), orient='index') # doctest: +SKIP col 1 col 2 row 1 a b row 2 c d @@ -737,7 +737,7 @@ def read_json( >>> df.to_json(orient='records') '[{{"col 1":"a","col 2":"b"}},{{"col 1":"c","col 2":"d"}}]' - >>> pd.read_json(StringIO(_), orient='records') + >>> pd.read_json(StringIO(_), orient='records') # doctest: +SKIP col 1 col 2 0 a b 1 c d