How to convert an XML file to nice pandas dataframe?

前端 未结 4 1766
一向
一向 2020-11-22 16:30

Let\'s assume that I have an XML like this:



        
4条回答
  •  耶瑟儿~
    2020-11-22 17:06

    Chiming in to recommend the use of the xmltodict library. It handled your xml text pretty well and I've used it for ingesting an xml file with almost a million records.

提交回复
热议问题