From 530da03e482a958667aabbe44458a6cbdeb1e7d4 Mon Sep 17 00:00:00 2001 From: Patrick Hoefler <61934744+phofl@users.noreply.github.com> Date: Thu, 4 Aug 2022 02:25:09 -0400 Subject: [PATCH] Backport PR #47951: DOC: Fix missing s3 file in read xml doc example --- doc/source/user_guide/io.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 705861a3aa568..862441e9b4cad 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -3032,15 +3032,15 @@ Read in the content of the "books.xml" as instance of ``StringIO`` or df = pd.read_xml(bio) df -Even read XML from AWS S3 buckets such as Python Software Foundation's IRS 990 Form: +Even read XML from AWS S3 buckets such as NIH NCBI PMC Article Datasets providing +Biomedical and Life Science Jorurnals: .. ipython:: python :okwarning: df = pd.read_xml( - "s3://irs-form-990/201923199349319487_public.xml", - xpath=".//irs:Form990PartVIISectionAGrp", - namespaces={"irs": "http://www.irs.gov/efile"} + "s3://pmc-oa-opendata/oa_comm/xml/all/PMC1236943.xml", + xpath=".//journal-meta", ) df