Skip to content

Commit 8b5dfa2

Browse files
authored
DOC: Fix missing s3 file in read xml doc example (pandas-dev#47951)
1 parent 4485f15 commit 8b5dfa2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/source/user_guide/io.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -3054,15 +3054,15 @@ Read in the content of the "books.xml" as instance of ``StringIO`` or
30543054
df = pd.read_xml(bio)
30553055
df
30563056
3057-
Even read XML from AWS S3 buckets such as Python Software Foundation's IRS 990 Form:
3057+
Even read XML from AWS S3 buckets such as NIH NCBI PMC Article Datasets providing
3058+
Biomedical and Life Science Jorurnals:
30583059

30593060
.. ipython:: python
30603061
:okwarning:
30613062
30623063
df = pd.read_xml(
3063-
"s3://irs-form-990/201923199349319487_public.xml",
3064-
xpath=".//irs:Form990PartVIISectionAGrp",
3065-
namespaces={"irs": "http://www.irs.gov/efile"}
3064+
"s3://pmc-oa-opendata/oa_comm/xml/all/PMC1236943.xml",
3065+
xpath=".//journal-meta",
30663066
)
30673067
df
30683068

0 commit comments

Comments
 (0)