Datasets:
Upload hypo.py
Browse files
hypo.py
CHANGED
@@ -148,6 +148,8 @@ class Hypo(datasets.GeneratorBasedBuilder):
|
|
148 |
|
149 |
for feature in _ENCODING_DICS:
|
150 |
encoding_function = partial(self.encode, feature)
|
|
|
|
|
151 |
data[feature] = data[feature].apply(encoding_function)
|
152 |
|
153 |
if self.config.name == "has_hypo":
|
|
|
148 |
|
149 |
for feature in _ENCODING_DICS:
|
150 |
encoding_function = partial(self.encode, feature)
|
151 |
+
print(feature)
|
152 |
+
print(data[feature].unique())
|
153 |
data[feature] = data[feature].apply(encoding_function)
|
154 |
|
155 |
if self.config.name == "has_hypo":
|