Skip to content

Commit

Permalink
Update fertility-prediction.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvanderburg authored Jun 19, 2024
1 parent af4155c commit c04dabb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions episodes/fertility-prediction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ How many samples do we have left?
# The rows where any of the features is NaN
X_isna = features.isna().any(axis=1)

features = features.drop(features[y_isna].index)
outcome = outcome.drop(outcome[y_isna].index)
features = features.drop(features[X_isna].index)
outcome = outcome.drop(outcome[X_isna].index)
```

```python
Expand Down

0 comments on commit c04dabb

Please sign in to comment.