Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ML/2_linear_reg_multivariate/Exercise/exercise_answer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,9 @@
"d"
]
},
#after converting the NaaN values to zero then a numerical 0, why dont we find the median of the experience column then replace the median value with the 0?
median_experience = d.experience.median()
d.experience = d.experience.replace(value=median_experience, to_replace=0)
{
"cell_type": "code",
"execution_count": 34,
Expand Down