Datasets:
Update wine.py
Browse files
wine.py
CHANGED
@@ -97,7 +97,5 @@ class Wine(datasets.GeneratorBasedBuilder):
|
|
97 |
data.loc[data.is_red == "red", "color"] = 0
|
98 |
data.loc[data.is_red == "white", "color"] = 1
|
99 |
|
100 |
-
data.columns = _BASE_FEATURE_NAMES
|
101 |
-
|
102 |
return data
|
103 |
|
|
|
97 |
data.loc[data.is_red == "red", "color"] = 0
|
98 |
data.loc[data.is_red == "white", "color"] = 1
|
99 |
|
|
|
|
|
100 |
return data
|
101 |
|