ForzaJuve1 commited on
Commit
87dfcb1
1 Parent(s): 8a5fb37

Update Integration

Browse files
Files changed (1) hide show
  1. Integration +6 -1
Integration CHANGED
@@ -108,10 +108,15 @@ class Euro2020Dataset(DatasetBuilder):
108
  def _split_generators(self, dl_manager):
109
  # Since the final processed dataset is a single CSV file that combines the content from numerous rows to only 51 rows,
110
  # with each row representing the information of each game, I wil just use a single 'train' split and no need for test / validation.
 
 
 
 
 
111
  return [
112
  SplitGenerator(
113
  name="train",
114
- gen_kwargs={"filepath": "ForzaJuve1/UEFA_Euro_2020_Data"}
115
  ),
116
  ]
117
 
 
108
  def _split_generators(self, dl_manager):
109
  # Since the final processed dataset is a single CSV file that combines the content from numerous rows to only 51 rows,
110
  # with each row representing the information of each game, I wil just use a single 'train' split and no need for test / validation.
111
+
112
+ Euro2020_df = pd.read_csv("/Users/chuhanguo/Desktop/Winter 2024/STA 663/Euro2020.csv")
113
+ train_path = "ForzaJuve1/UEFA_Euro_2020_Data/Euro2020.csv"
114
+ Euro2020_df.to_csv(train_path, index = False)
115
+
116
  return [
117
  SplitGenerator(
118
  name="train",
119
+ gen_kwargs={"filepath": train_path}
120
  ),
121
  ]
122