awacke1's picture
Update app.py
6419e69
raw
history blame
348 Bytes
from datasets import load_dataset
raw_datasets = load_dataset("allocine")
raw_datasets.save_to_disk("my-arrow-datasets")
from datasets import load_from_disk
arrow_datasets_reloaded = load_from_disk("my-arrow-datasets")
arrow_datasets_reloaded
for split, dataset in raw.datasets.items():
dataset.to_csv(f"my-dataset-{split}.csv", index=None)