Spaces:
Sleeping
Sleeping
File size: 320 Bytes
3a23f8d |
1 2 3 4 5 6 7 8 9 10 11 |
from datasets import load_dataset
def load_from_hub_csv(path, data_file, token, csv_output_file):
dataset = load_dataset(path=path,
data_files=data_file,
token=token,)
for split, data in dataset.items():
data.to_csv(csv_output_file, index=None)
|