Datasets:
Upload higgs.py
Browse files
higgs.py
CHANGED
@@ -138,8 +138,10 @@ class Higgs(datasets.GeneratorBasedBuilder):
|
|
138 |
|
139 |
def preprocess(self, data: pandas.DataFrame, config: str = "higgs") -> pandas.DataFrame:
|
140 |
if config == "higgs":
|
|
|
141 |
print(list(data.columns))
|
142 |
print("\n\n")
|
|
|
143 |
print(list(features_types_per_config[config].keys()))
|
144 |
print("\n\n")
|
145 |
return data[list(features_types_per_config[config].keys())]
|
|
|
138 |
|
139 |
def preprocess(self, data: pandas.DataFrame, config: str = "higgs") -> pandas.DataFrame:
|
140 |
if config == "higgs":
|
141 |
+
print("data.columns")
|
142 |
print(list(data.columns))
|
143 |
print("\n\n")
|
144 |
+
print("list(features_types_per_config[config].keys())")
|
145 |
print(list(features_types_per_config[config].keys()))
|
146 |
print("\n\n")
|
147 |
return data[list(features_types_per_config[config].keys())]
|