mstz commited on
Commit
64e3c76
1 Parent(s): 56bdbbf

Upload magic.py

Browse files
Files changed (1) hide show
  1. magic.py +2 -1
magic.py CHANGED
@@ -87,7 +87,8 @@ class Magic(datasets.GeneratorBasedBuilder):
87
  ]
88
 
89
  def _generate_examples(self, filepath: str):
90
- data = pandas.read_csv(filepath)
 
91
 
92
  for row_id, row in data.iterrows():
93
  data_row = dict(row)
 
87
  ]
88
 
89
  def _generate_examples(self, filepath: str):
90
+ data = pandas.read_csv(filepath, header=None)
91
+ data.columns = _BASE_FEATURE_NAMES
92
 
93
  for row_id, row in data.iterrows():
94
  data_row = dict(row)