awacke1 commited on
Commit
348fb48
β€’
1 Parent(s): 05df1af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
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")