Imputing Nulls using Grouped by values
Can we impute Null values with Grouped by some column of Non Null Values?
Eg : In titanic problem, I want to impute Age column with the mean age grouped by Sex. Now, this logic can be as complex as we want. Is there a functionality in RM to write our own rules for imputing Nulls?
P.S. I have seen the Imputing Missing Values operator. KNN may not work for all cases so we may need custom rules.