how to use the Julia to do the following python code in data frame Julia.
(1) filling Na with most popular values
(2) filling Na with mean
MSZoning NA in pred. filling with most popular values
features['MSZoning'] = features['MSZoning'].fillna(features['MSZoning'].mode()[0])
# LotFrontage NA in all. I suppose NA means 0
features['LotFrontage'] = features['LotFrontage'].fillna(features['LotFrontage'].mean())
Since you replace missing values, df[:x] = recode(df[:x], missing => mean(skipmissing(df[:x]))) is probably better than recode! since it will create a column which does not allow for missing values, which makes further operations more efficient.