Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,3 +21,10 @@ data_files = {
|
|
21 |
|
22 |
csv_datasets_reloaded = load_dataset("csv", data_files=data_files)
|
23 |
csv_datasets_reloaded
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
csv_datasets_reloaded = load_dataset("csv", data_files=data_files)
|
23 |
csv_datasets_reloaded
|
24 |
+
|
25 |
+
|
26 |
+
for split, dataset in raw_datasets.items():
|
27 |
+
dataset.to_json(f'my-dataset-{split}.jsonl")
|
28 |
+
|
29 |
+
for split, dataset in raw_datasets.items():
|
30 |
+
dataset.to_parquet(f"my-dataset-{split}.parquet")
|