Skip to content

Commit f7cb3a0

Browse files
authored
Merge pull request fastai#185 from jason-d-jones/notebook1-jj
adding variable to catch third return from proc_df
2 parents 0d7a979 + b9eeb7a commit f7cb3a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

courses/ml1/lesson1-rf.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3490,7 +3490,7 @@
34903490
},
34913491
"outputs": [],
34923492
"source": [
3493-
"df_trn, y_trn = proc_df(df_raw, 'SalePrice')\n",
3493+
"df_trn, y_trn, nas = proc_df(df_raw, 'SalePrice')\n",
34943494
"X_train, X_valid = split_vals(df_trn, n_trn)\n",
34953495
"y_train, y_valid = split_vals(y_trn, n_trn)"
34963496
]

courses/ml1/lesson2-rf_interpretation.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3434,7 +3434,7 @@
34343434
"df_ext = df_keep.copy()\n",
34353435
"df_ext['is_valid'] = 1\n",
34363436
"df_ext.is_valid[:n_trn] = 0\n",
3437-
"x, y = proc_df(df_ext, 'is_valid')"
3437+
"x, y, nas = proc_df(df_ext, 'is_valid')"
34383438
]
34393439
},
34403440
{

0 commit comments

Comments
 (0)