This repository has been archived on 2023-11-19. You can view files and clone it, but cannot push or open issues or pull requests.
CSE-158-Assignment-1/assignment1.py

16 lines
220 B
Python
Raw Normal View History

2023-11-04 05:07:54 +00:00
# %%
import gzip
from collections import defaultdict
import json
# %%
dataset = []
for l in gzip.open("train.json.gz", 'rt', encoding='utf-8'):
d = eval(l)
dataset.append(d)
print(dataset[0])