Datasets:
Upload page_blocks.py
Browse files- page_blocks.py +2 -1
page_blocks.py
CHANGED
@@ -112,7 +112,8 @@ class PageBlocks(datasets.GeneratorBasedBuilder):
|
|
112 |
print("\tencoding...\n\n\n\n")
|
113 |
data.loc[:, feature] = data[feature].apply(encoding_function)
|
114 |
print("encoded\n\n\n\n")
|
115 |
-
|
|
|
116 |
|
117 |
return data[list(features_types_per_config[self.config.name].keys())]
|
118 |
|
|
|
112 |
print("\tencoding...\n\n\n\n")
|
113 |
data.loc[:, feature] = data[feature].apply(encoding_function)
|
114 |
print("encoded\n\n\n\n")
|
115 |
+
print(list(features_types_per_config[self.config.name].keys()))
|
116 |
+
print(data.head())
|
117 |
|
118 |
return data[list(features_types_per_config[self.config.name].keys())]
|
119 |
|