Datasets:
Upload spect.py
Browse files
spect.py
CHANGED
@@ -143,7 +143,7 @@ class Spect(datasets.GeneratorBasedBuilder):
|
|
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 |
-
|
147 |
|
148 |
for row_id, row in data.iterrows():
|
149 |
data_row = dict(row)
|
|
|
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():
|
149 |
data_row = dict(row)
|