Datasets:
Update isolet.py
Browse files
isolet.py
CHANGED
@@ -65,10 +65,8 @@ class Isolet(datasets.GeneratorBasedBuilder):
|
|
65 |
def _generate_examples(self, filepath: str):
|
66 |
data = pandas.read_csv(filepath + "/isolet1+2+3+4.data", header=None).infer_objects()
|
67 |
data = self.preprocess(data, config=self.config.name)
|
68 |
-
print(data.dtypes)
|
69 |
|
70 |
for row_id, row in data.iterrows():
|
71 |
-
print(row_id)
|
72 |
data_row = dict(row)
|
73 |
|
74 |
yield row_id, data_row
|
|
|
65 |
def _generate_examples(self, filepath: str):
|
66 |
data = pandas.read_csv(filepath + "/isolet1+2+3+4.data", header=None).infer_objects()
|
67 |
data = self.preprocess(data, config=self.config.name)
|
|
|
68 |
|
69 |
for row_id, row in data.iterrows():
|
|
|
70 |
data_row = dict(row)
|
71 |
|
72 |
yield row_id, data_row
|