mstz commited on
Commit
94cb0b2
·
1 Parent(s): dc6c38f

Upload spect.py

Browse files
Files changed (1) hide show
  1. spect.py +1 -1
spect.py CHANGED
@@ -142,7 +142,7 @@ class Spect(datasets.GeneratorBasedBuilder):
142
 
143
  def _generate_examples(self, filepath: str):
144
  data = pandas.read_csv(filepath, header=None)
145
- data.columns = [list(features_types_per_config[self.config.name])]
146
  print(data.columns)
147
 
148
  for row_id, row in data.iterrows():
 
142
 
143
  def _generate_examples(self, filepath: str):
144
  data = pandas.read_csv(filepath, header=None)
145
+ data.columns = list(features_types_per_config[self.config.name])
146
  print(data.columns)
147
 
148
  for row_id, row in data.iterrows():