KaiquanMah commited on
Commit
efad283
·
verified ·
1 Parent(s): 54181e3

Update preprocess.py

Browse files
Files changed (1) hide show
  1. preprocess.py +3 -2
preprocess.py CHANGED
@@ -42,8 +42,9 @@ def parse(csv_path):
42
  os.makedirs(output_folder, exist_ok=True)
43
 
44
  # Step 6: Save the train and test sets as CSV files
45
- train_file_path = os.path.join(output_folder, "train.csv")
46
- test_file_path = os.path.join(output_folder, "test.csv")
 
47
 
48
  train_data.to_csv(train_file_path, index=False)
49
  test_data.to_csv(test_file_path, index=False)
 
42
  os.makedirs(output_folder, exist_ok=True)
43
 
44
  # Step 6: Save the train and test sets as CSV files
45
+ # train_file_path = os.path.join(output_folder, "train.csv")
46
+ train_file_path = "data/train.csv"
47
+ test_file_path = "data/test.csv"
48
 
49
  train_data.to_csv(train_file_path, index=False)
50
  test_data.to_csv(test_file_path, index=False)