Skip to content

Commit

Permalink
MAINT Update wrap-up quiz M5 (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturoAmorQ authored Nov 7, 2023
1 parent d3a4ee7 commit 84877f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jupyter-book/trees/trees_wrap_up_quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ Open the dataset `ames_housing_no_missing.csv` with the following command:
```python
import pandas as pd

ames_housing = pd.read_csv("../datasets/ames_housing_no_missing.csv")
ames_housing = pd.read_csv(
"../datasets/ames_housing_no_missing.csv",
na_filter=False, # required for pandas>2.0
)
target_name = "SalePrice"
data = ames_housing.drop(columns=target_name)
target = ames_housing[target_name]
Expand Down

0 comments on commit 84877f2

Please sign in to comment.