Skip to content

Commit

Permalink
#11 Fix: Correct variable use
Browse files Browse the repository at this point in the history
  • Loading branch information
Gunnar2908 committed Sep 25, 2023
1 parent 9195897 commit e62b8e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/feature_engineering.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ def prepare_data(
train_estimated_clean = feature_engineer(train_estimated)

# Handle missing values (e.g., imputation, removal)
train_observed_clean = train_observed.dropna()
train_estimated_clean = train_estimated.dropna()
train_observed_clean = train_observed_clean.dropna()
train_estimated_clean = train_estimated_clean.dropna()

# Split the data into features (X) and target (y)
X_obs = train_observed_clean.drop(
Expand Down

0 comments on commit e62b8e0

Please sign in to comment.