Upload madelon.py
Browse files- madelon.py +2 -0
madelon.py
CHANGED
|
@@ -61,6 +61,8 @@ class Madelon(datasets.GeneratorBasedBuilder):
|
|
| 61 |
def _generate_examples(self, filepath: str):
|
| 62 |
data = pandas.read_csv(filepath)
|
| 63 |
data = self.preprocess(data, config=self.config.name)
|
|
|
|
|
|
|
| 64 |
|
| 65 |
for row_id, row in data.iterrows():
|
| 66 |
data_row = dict(row)
|
|
|
|
| 61 |
def _generate_examples(self, filepath: str):
|
| 62 |
data = pandas.read_csv(filepath)
|
| 63 |
data = self.preprocess(data, config=self.config.name)
|
| 64 |
+
print(data.dtypes)
|
| 65 |
+
print(data.infer_objects().dtypes)
|
| 66 |
|
| 67 |
for row_id, row in data.iterrows():
|
| 68 |
data_row = dict(row)
|