Skip to content

Instantly share code, notes, and snippets.

View wilsonusman's full-sized avatar
🏠
Working from home

Wilson Usman wilsonusman

🏠
Working from home
View GitHub Profile
@wilsonusman
wilsonusman / parse_aces.py
Created February 13, 2023 18:45
How to parse an ACES XML file in Python
import xml.etree.ElementTree as ET
import xmltodict
import pandas as pd
from timeit import default_timer as timer
# Open your XML and Convert to JSON
timer_start = timer()
with open('../path/to/file.xml') as f:
f = xmltodict.parse(f.read())