MCPcopy
hub / github.com/pandas-dev/pandas / read_xml_iterparse_comp

Function read_xml_iterparse_comp

pandas/tests/io/xml/test_xml.py:271–274  ·  view source on GitHub ↗
(comp_path, compression_only, temp_path, **kwargs)

Source from the content-addressed store, hash-verified

269
270
271def read_xml_iterparse_comp(comp_path, compression_only, temp_path, **kwargs):
272 with get_handle(comp_path, "r", compression=compression_only) as handles:
273 temp_path.write_text(handles.handle.read(), encoding="utf-8")
274 return read_xml(temp_path, **kwargs)
275
276
277# FILE / URL

Callers 1

test_compression_readFunction · 0.85

Calls 3

get_handleFunction · 0.90
read_xmlFunction · 0.90
readMethod · 0.45

Tested by

no test coverage detected