Veda0718's picture
Upload 50 files
f268251 verified
raw
history blame contribute delete
171 Bytes
import json
def load_file_jsonl(path):
with open(path) as f:
return [json.loads(row) for row in f]
def get_avg(x):
return sum([float(y) for y in x])/len(x)