ForzaJuve1
commited on
Commit
•
bd26863
1
Parent(s):
87dfcb1
Update Integration
Browse files- Integration +3 -3
Integration
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
from datasets import DatasetBuilder, DatasetInfo, Features, Value, SplitGenerator
|
2 |
import pandas as pd
|
3 |
|
4 |
class Euro2020Dataset(DatasetBuilder):
|
@@ -107,9 +107,9 @@ class Euro2020Dataset(DatasetBuilder):
|
|
107 |
|
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
|
111 |
|
112 |
-
Euro2020_df =
|
113 |
train_path = "ForzaJuve1/UEFA_Euro_2020_Data/Euro2020.csv"
|
114 |
Euro2020_df.to_csv(train_path, index = False)
|
115 |
|
|
|
1 |
+
from datasets import Dataset, DatasetBuilder, DatasetInfo, Features, Value, SplitGenerator
|
2 |
import pandas as pd
|
3 |
|
4 |
class Euro2020Dataset(DatasetBuilder):
|
|
|
107 |
|
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 will just use a single 'train' split and no need for test / validation.
|
111 |
|
112 |
+
Euro2020_df = Dataset.from_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 |
|