Housing Prediction

How do i deal with NaN values,should i just replace it with 0?In the following challenge?
https://online.codingblocks.com/player/27025/content/15299/5860

you can use sklearn imputer class to fill up the missing values

from sklearn.impute import SimpleImputer

then use strategy like ‘most_frequent’ to fill up the missing values
finally use “fit_transform” method