Datasets:
Upload student_performance.py
Browse files- student_performance.py +2 -2
student_performance.py
CHANGED
@@ -174,9 +174,9 @@ class StudentPerformance(datasets.GeneratorBasedBuilder):
|
|
174 |
for feature, d in _ENCODING_DICS.items()]
|
175 |
print("done...\n\n\n")
|
176 |
data = pandas.concat(data, axis="rows").reset_index()
|
177 |
-
data.columns = ["feature", "original_value", "encoded_value"]
|
178 |
-
print("done...\n\n\n")
|
179 |
print(data)
|
180 |
print(data.dtypes)
|
|
|
|
|
181 |
|
182 |
return data
|
|
|
174 |
for feature, d in _ENCODING_DICS.items()]
|
175 |
print("done...\n\n\n")
|
176 |
data = pandas.concat(data, axis="rows").reset_index()
|
|
|
|
|
177 |
print(data)
|
178 |
print(data.dtypes)
|
179 |
+
data.columns = ["feature", "original_value", "encoded_value"]
|
180 |
+
print("done...\n\n\n")
|
181 |
|
182 |
return data
|