mstz commited on
Commit
511c084
·
1 Parent(s): 594e6b0

Upload sonar.py

Browse files
Files changed (1) hide show
  1. sonar.py +1 -1
sonar.py CHANGED
@@ -58,7 +58,7 @@ class Sonar(datasets.GeneratorBasedBuilder):
58
 
59
  def _generate_examples(self, filepath: str):
60
  data = pandas.read_csv(filepath, header=None)
61
- data.columns = list(range(61))
62
  data = self.preprocess(data, config=self.config.name)
63
 
64
  for row_id, row in data.iterrows():
 
58
 
59
  def _generate_examples(self, filepath: str):
60
  data = pandas.read_csv(filepath, header=None)
61
+ data.columns = [str(i) for i in range(61)]
62
  data = self.preprocess(data, config=self.config.name)
63
 
64
  for row_id, row in data.iterrows():