Skip to content

Instantly share code, notes, and snippets.

import json
import pandas as ps
def get_json_data(file):
with open(file, 'r') as f:
return json.load(f)
obj = get_json_data('./echr-od/ECHR-OD_process/build/echr_database/unstructured/cases.json')
case = obj[0] # Test on the first case only