ForzaJuve1
commited on
Update Euro_2020_Integration.py
Browse filesUsers can download this .py file and use load_dataset function in Python to successfully load the processed Euro 2020 dataset. Users can also choose to directly download the UEFA_Euro2020.parquet file.
- Euro_2020_Integration.py +7 -4
Euro_2020_Integration.py
CHANGED
@@ -12,7 +12,7 @@ class Euro2020Dataset(GeneratorBasedBuilder):
|
|
12 |
|
13 |
def _info(self):
|
14 |
return DatasetInfo(
|
15 |
-
description="
|
16 |
features=Features({
|
17 |
"HomeTeamName": Value("string"),
|
18 |
"AwayTeamName": Value("string"),
|
@@ -530,9 +530,12 @@ class Euro2020Dataset(GeneratorBasedBuilder):
|
|
530 |
}),
|
531 |
}),
|
532 |
supervised_keys=None,
|
533 |
-
homepage=
|
534 |
-
|
535 |
-
citation="
|
|
|
|
|
|
|
536 |
)
|
537 |
|
538 |
def _split_generators(self, dl_manager):
|
|
|
12 |
|
13 |
def _info(self):
|
14 |
return DatasetInfo(
|
15 |
+
description="The original data consists of 6 detailed csv files concerning match events, match information, match line-ups, match player statistics, match team statistics, and pre-match information for matches in UEFA Euro 2020 tournament",
|
16 |
features=Features({
|
17 |
"HomeTeamName": Value("string"),
|
18 |
"AwayTeamName": Value("string"),
|
|
|
530 |
}),
|
531 |
}),
|
532 |
supervised_keys=None,
|
533 |
+
homepage = "https://data.world/cervus/uefa-euro-2020",
|
534 |
+
dict = "https://data.world/cervus/uefa-euro-2020/data-dictionary",
|
535 |
+
citation="""@dataset{UEFA Euro 2020,
|
536 |
+
creator={Mikhail Zhilkin @cervus},
|
537 |
+
year={2021},
|
538 |
+
}"""
|
539 |
)
|
540 |
|
541 |
def _split_generators(self, dl_manager):
|