Skip to content

Commit 836ced7

Browse files
Backport PR pandas-dev#47951 on branch 1.4.x (DOC: Fix missing s3 file in read xml doc example) (pandas-dev#47957)
Backport PR pandas-dev#47951: DOC: Fix missing s3 file in read xml doc example Co-authored-by: Patrick Hoefler <[email protected]>
1 parent 8620b02 commit 836ced7

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
@@ -3032,15 +3032,15 @@ Read in the content of the "books.xml" as instance of ``StringIO`` or
30323032
df = pd.read_xml(bio)
30333033
df
30343034
3035-
Even read XML from AWS S3 buckets such as Python Software Foundation's IRS 990 Form:
3035+
Even read XML from AWS S3 buckets such as NIH NCBI PMC Article Datasets providing
3036+
Biomedical and Life Science Jorurnals:
30363037

30373038
.. ipython:: python
30383039
:okwarning:
30393040
30403041
df = pd.read_xml(
3041-
"s3://irs-form-990/201923199349319487_public.xml",
3042-
xpath=".//irs:Form990PartVIISectionAGrp",
3043-
namespaces={"irs": "http://www.irs.gov/efile"}
3042+
"s3://pmc-oa-opendata/oa_comm/xml/all/PMC1236943.xml",
3043+
xpath=".//journal-meta",
30443044
)
30453045
df
30463046

0 commit comments

Comments
 (0)