Fixed tool

This commit is contained in:
2025-11-18 10:11:53 -08:00
parent d4e0cea082
commit 053fa15679
23 changed files with 4 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ os.makedirs(OUTPUT_DIR, exist_ok=True)
# Pull the rows into a list
# skip the first three rows of the data, it's just header material
rows = list(data.iterrows())[3:]
rows = list(data.iterrows())[2:]
# for each language
@@ -97,6 +97,9 @@ for lang in langs:
schedule.append(category)
# and dump it to json
with open(f"{OUTPUT_DIR}/{lang}.json", "w") as fp:
assert len(schedule) == 753
json.dump(schedule, indent=True, fp=fp)