We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
read_xml() fails with the error message XMLSyntaxError: xmlSAX2Characters: huge text node.
read_xml()
XMLSyntaxError: xmlSAX2Characters: huge text node
A similar problem can be overcome when manually parsing the tree like so:
from lxml import etree with open(filename) as f: tree = etree.parse(f, etree.XMLParser(huge_tree=True))
I am not sure what the best way to supply options to the parser would be.
Right now, I have to read the file using the 'etree' parser like so
df = pd.read_xml( filename, parser='etree', )
Similarly, the following option could be passed to the parser recover=True.
recover=True
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
read_xml()
fails with the error messageXMLSyntaxError: xmlSAX2Characters: huge text node
.A similar problem can be overcome when manually parsing the tree like so:
Feature Description
I am not sure what the best way to supply options to the parser would be.
Alternative Solutions
Right now, I have to read the file using the 'etree' parser like so
Additional Context
Similarly, the following option could be passed to the parser
recover=True
.The text was updated successfully, but these errors were encountered: