Skip to content

Commit 5003349

Browse files
committed
add drop frame documentation
1 parent 9f2e270 commit 5003349

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

intro-neural-networks/student-admissions/StudentAdmissions.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@
117117
"This looks more promising, as it seems that the lower the rank, the higher the acceptance rate. Let's use the rank as one of our inputs. In order to do this, we should one-hot encode it.\n",
118118
"\n",
119119
"## TODO: One-hot encoding the rank\n",
120-
"Use the `get_dummies` function in pandas in order to one-hot encode the data."
120+
"Use the `get_dummies` function in pandas in order to one-hot encode the data.\n",
121+
"\n",
122+
"Hint: To drop a column, it's suggested that you use `one_hot_data`[.drop( )](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.drop.html)."
121123
]
122124
},
123125
{

0 commit comments

Comments
 (0)