Upload madelon.py
Browse files- madelon.py +3 -1
madelon.py
CHANGED
|
@@ -58,7 +58,9 @@ class Madelon(datasets.GeneratorBasedBuilder):
|
|
| 58 |
]
|
| 59 |
|
| 60 |
def _generate_examples(self, filepath: str):
|
| 61 |
-
data = pandas.read_csv(filepath
|
|
|
|
|
|
|
| 62 |
data = self.preprocess(data, config=self.config.name)
|
| 63 |
|
| 64 |
for row_id, row in data.iterrows():
|
|
|
|
| 58 |
]
|
| 59 |
|
| 60 |
def _generate_examples(self, filepath: str):
|
| 61 |
+
data = pandas.read_csv(filepath)
|
| 62 |
+
print("data.columns")
|
| 63 |
+
print(data.columns)
|
| 64 |
data = self.preprocess(data, config=self.config.name)
|
| 65 |
|
| 66 |
for row_id, row in data.iterrows():
|