A nested np.where() walkthrough ... for my Medium article
Often, writeups on the #Titanic dataset use the if ... condition to impute average values, typically for age.
In my Medium post,
I attempted using np.where to impute missing NaN/null value. The trick is the nested np.where
NB: Here, I used a dynamically generated data as a proxy for the #titanic dataset.