Skip to content

Reading xml files not directly available in Pandas? #36798

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

Closed
1 task
RahulReady opened this issue Oct 2, 2020 · 2 comments
Closed
1 task

Reading xml files not directly available in Pandas? #36798

RahulReady opened this issue Oct 2, 2020 · 2 comments
Labels
Duplicate Report Duplicate issue or pull request

Comments

@RahulReady
Copy link

  • [ X] I have searched the [pandas] tag on StackOverflow for similar questions.

  • I have asked my usage related question on StackOverflow. (There are workarounds to this, but this is a question to the devs)


Question about pandas

I have already figured out a workaround to reading xml files by using 'xml.etree.ElementTree', but I was not able to find a read_xml() function in the pandas library.

There is another package 'https://pypi.org/project/pandas-read-xml/' that implements this function, but it seems like extra steps for an individual to download another package if they wanted to read the xml file (should they decide not to implement it themselves).

May I know the thought process for not having such function, or if I am blatantly missing something, kindly excuse the ignorance.

@RahulReady RahulReady added Needs Triage Issue that has not been reviewed by a pandas team member Usage Question labels Oct 2, 2020
@mroeschke
Copy link
Member

Thanks for the suggestion. We have a duplicate request at #27554

@simonjayhawkins simonjayhawkins added Duplicate Report Duplicate issue or pull request and removed Needs Triage Issue that has not been reviewed by a pandas team member Usage Question labels Oct 2, 2020
@ghuname
Copy link

ghuname commented Oct 16, 2020

It would be nice to have df.to_xml() as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Report Duplicate issue or pull request
Projects
None yet
Development

No branches or pull requests

4 participants