Datasets:
Update mushroom.py
Browse files- mushroom.py +0 -1
mushroom.py
CHANGED
@@ -311,7 +311,6 @@ class Mushroom(datasets.GeneratorBasedBuilder):
|
|
311 |
|
312 |
def preprocess(self, data: pandas.DataFrame, config: str = DEFAULT_CONFIG) -> pandas.DataFrame:
|
313 |
data.columns = _ORIGINAL_FEATURE_NAMES
|
314 |
-
print(data.columns)
|
315 |
if "stalk_root" in data.columns:
|
316 |
data.drop("stalk_root", axis="columns", inplace=True)
|
317 |
data = data[features_types_per_config[config].keys()]
|
|
|
311 |
|
312 |
def preprocess(self, data: pandas.DataFrame, config: str = DEFAULT_CONFIG) -> pandas.DataFrame:
|
313 |
data.columns = _ORIGINAL_FEATURE_NAMES
|
|
|
314 |
if "stalk_root" in data.columns:
|
315 |
data.drop("stalk_root", axis="columns", inplace=True)
|
316 |
data = data[features_types_per_config[config].keys()]
|