import json from datasets import load_dataset dataset = load_dataset("./QUAERO.py") print(dataset) print(dataset["train"]) for element in dataset["train"]: print(element) print() # print(json.dumps(dataset["train"][0], sort_keys=True, indent=4))