ForzaJuve1 commited on
Commit
c5c39b1
1 Parent(s): ff33dac

Update Integration.py

Browse files
Files changed (1) hide show
  1. Integration.py +3 -1
Integration.py CHANGED
@@ -553,7 +553,9 @@ class Euro2020Dataset(GeneratorBasedBuilder):
553
  #csv.field_size_limit(sys.maxsize)
554
 
555
  def _generate_examples(self, filepath):
556
- df = pd.read_parquet(filepath)
 
 
557
  for id, row in df.iterrows():
558
  #'id' here is the index of the row in the DataFrame
559
  #'row' is a Pandas Series object representing the row data
 
553
  #csv.field_size_limit(sys.maxsize)
554
 
555
  def _generate_examples(self, filepath):
556
+ table = pq.read_table(filepath)
557
+ df = table.to_pandas()
558
+ #df = pd.read_parquet(filepath)
559
  for id, row in df.iterrows():
560
  #'id' here is the index of the row in the DataFrame
561
  #'row' is a Pandas Series object representing the row data