removed title again lol
Browse files- feature_engineering.py +1 -1
feature_engineering.py
CHANGED
|
@@ -48,7 +48,7 @@ def feat_eng(df):
|
|
| 48 |
# )
|
| 49 |
|
| 50 |
# Drop features and NaNs
|
| 51 |
-
df.drop(["Ticket", "Cabin", "Fare", "PassengerId"], axis=1, inplace=True)
|
| 52 |
df = df[df["Embarked"].notna()]
|
| 53 |
|
| 54 |
# Feature engineering
|
|
|
|
| 48 |
# )
|
| 49 |
|
| 50 |
# Drop features and NaNs
|
| 51 |
+
df.drop(["Ticket", "Cabin", "Fare", "PassengerId", "Name"], axis=1, inplace=True)
|
| 52 |
df = df[df["Embarked"].notna()]
|
| 53 |
|
| 54 |
# Feature engineering
|