Skip to content

DOC: Add example with numpy_nullable to pd.read_xml() #56470

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 12 commits into from
Dec 18, 2023

Conversation

linus-md
Copy link
Contributor

@linus-md linus-md commented Dec 12, 2023

@@ -3279,6 +3279,32 @@ of reading in Wikipedia's very large (12 GB+) latest article data dump.

[3578765 rows x 3 columns]

The following is an example with ``use_nullable_dtypes=True``:
Copy link
Member

Choose a reason for hiding this comment

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

Could you move these to the docstring instead of this user guide? (in addition to your other PRs)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mroeschke I moved the xml and json example but in the read_html example section it says See the :ref:`read_html documentation in the IO section of the docs <io.read_html>` for some examples of reading in HTML tables.

Copy link
Member

Choose a reason for hiding this comment

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

It would be good to move those too over to the docstring

@mroeschke mroeschke added Docs IO XML read_xml, to_xml labels Dec 18, 2023
@mroeschke mroeschke added this to the 2.2 milestone Dec 18, 2023
@mroeschke mroeschke merged commit 8b5a7d8 into pandas-dev:main Dec 18, 2023
@mroeschke
Copy link
Member

Thanks @linus-md

@linus-md linus-md deleted the xml-io branch December 18, 2023 22:55
cbpygit pushed a commit to cbpygit/pandas that referenced this pull request Jan 2, 2024
…-dev#56470)

* DOC: Add example with ``numpy_nullable`` to ``pd.read_xml()``

* Update io.rst

* Update io.rst

* Update

* Move example

* fix line length

* Remove trailing whitespace

* Update xml.py

* fix imports

* Update

* Formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs IO XML read_xml, to_xml
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants