For quick and dirty stuff, I use `xmltodict`. It’s not the fastest python xml parser, but it’s so easy.
For big files, though, lxml + `iterparse` is the way. Just make sure to `clear()` as you go!
Also, `pyarrow` can help if you’re moving data to pandas later.
For big files, though, lxml + `iterparse` is the way. Just make sure to `clear()` as you go!
Also, `pyarrow` can help if you’re moving data to pandas later.
