Data Science, Probability, Statistics, Data Science Interview, Data Analysis.
would be the better choice as the median is more robust to outliers. Now if we have categorical data, then it would make sense if we impute the data with the mode, which means that we fill the missing values simply with the most frequent categories that appear in our data. Basic Statistics: