Spaces:
Build error
Build error
Commit
·
b1f4214
1
Parent(s):
b17d045
data desc
Browse files
app.py
CHANGED
|
@@ -14,7 +14,8 @@ def data_description(desc_type):
|
|
| 14 |
data_desc.insert(0, "Description", ["count", "mean", "std", "min", "25%", "50%", "75%", "max"], True)
|
| 15 |
return data_desc
|
| 16 |
if desc_type == "Encode Data":
|
| 17 |
-
categorical_column = ['Attrition', 'BusinessTravel', '
|
|
|
|
| 18 |
data_encoded = df.copy(deep=True)
|
| 19 |
label_encoding = LabelEncoder()
|
| 20 |
data = [["Feature", "Mapping"]]
|
|
|
|
| 14 |
data_desc.insert(0, "Description", ["count", "mean", "std", "min", "25%", "50%", "75%", "max"], True)
|
| 15 |
return data_desc
|
| 16 |
if desc_type == "Encode Data":
|
| 17 |
+
categorical_column = ['Attrition', 'Gender', 'BusinessTravel', 'Education', 'EmployeeExperience', 'EmployeeFeedbackSentiments', 'Designation', 'SalarySatisfaction',
|
| 18 |
+
'HealthBenefitsSatisfaction', 'UHGDiscountProgramUsage', 'HealthConscious', 'CareerPathSatisfaction', 'Region']
|
| 19 |
data_encoded = df.copy(deep=True)
|
| 20 |
label_encoding = LabelEncoder()
|
| 21 |
data = [["Feature", "Mapping"]]
|