I have a data set in which there is a column known as Native Country which contain around 30000 records. Some are missing represented by NaN so I thoug
30000
NaN
Be careful, NaN may be the mode of your dataframe: in this case, you are replacing NaN with another NaN.