File size: 348 Bytes
f44b91f
 
38481ea
 
 
 
 
 
6419e69
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)