ForzaJuve1
commited on
Commit
•
0c93e68
1
Parent(s):
5c9be9e
Update Integration.py
Browse files- Integration.py +1 -1
Integration.py
CHANGED
@@ -557,7 +557,7 @@ class Euro2020Dataset(GeneratorBasedBuilder):
|
|
557 |
# 'id' here is the index of the row in the DataFrame
|
558 |
# 'row' is a Pandas Series object representing the row data
|
559 |
# Directly yield the id and row.to_dict() if the DataFrame structure matches the desired output
|
560 |
-
|
561 |
#with open(filepath, encoding="utf-8") as f:
|
562 |
#reader = pd.read_parquet(f)
|
563 |
#for id, row in enumerate(reader):
|
|
|
557 |
# 'id' here is the index of the row in the DataFrame
|
558 |
# 'row' is a Pandas Series object representing the row data
|
559 |
# Directly yield the id and row.to_dict() if the DataFrame structure matches the desired output
|
560 |
+
yield id, row.to_dict()
|
561 |
#with open(filepath, encoding="utf-8") as f:
|
562 |
#reader = pd.read_parquet(f)
|
563 |
#for id, row in enumerate(reader):
|