I would like to modify the cell values of a dataframe column (Age) where currently it is blank and I would only do it if another column (Survived) has the value 0 for the c
It should be:
$when(((tdata.Age == "" ) & (tdata.Survived == "0")), mean_age_0)