Datasets:
Upload breast.py
Browse files
breast.py
CHANGED
@@ -110,7 +110,8 @@ class Breast(datasets.GeneratorBasedBuilder):
|
|
110 |
]
|
111 |
|
112 |
def _generate_examples(self, filepath: str):
|
113 |
-
data = pandas.read_csv(filepath,
|
|
|
114 |
data = self.preprocess(data, config=self.config.name)
|
115 |
|
116 |
for row_id, row in data.iterrows():
|
|
|
110 |
]
|
111 |
|
112 |
def _generate_examples(self, filepath: str):
|
113 |
+
data = pandas.read_csv(filepath, header=None)
|
114 |
+
data.columns=_ORIGINAL_FEATURE_NAMES
|
115 |
data = self.preprocess(data, config=self.config.name)
|
116 |
|
117 |
for row_id, row in data.iterrows():
|