ForzaJuve1
commited on
Commit
•
cae43e0
1
Parent(s):
d50ad65
Update Integration.py
Browse files- Integration.py +3 -3
Integration.py
CHANGED
@@ -554,9 +554,9 @@ class Euro2020Dataset(GeneratorBasedBuilder):
|
|
554 |
|
555 |
def _generate_examples(self, filepath):
|
556 |
|
557 |
-
|
558 |
-
|
559 |
-
df = pd.read_parquet(filepath)
|
560 |
for id, row in df.iterrows():
|
561 |
MatchEvent_dict, TeamLineUps_dict, TeamStats_dict, PlayerStats_dict, PlayerPreMatchInfo_dict = {}, {}, {}, {}, {}
|
562 |
|
|
|
554 |
|
555 |
def _generate_examples(self, filepath):
|
556 |
|
557 |
+
table = pq.read_table(filepath)
|
558 |
+
df = table.to_pandas()
|
559 |
+
#df = pd.read_parquet(filepath)
|
560 |
for id, row in df.iterrows():
|
561 |
MatchEvent_dict, TeamLineUps_dict, TeamStats_dict, PlayerStats_dict, PlayerPreMatchInfo_dict = {}, {}, {}, {}, {}
|
562 |
|