Return x with the missing values removed

NumPy · from NaN, inf and missing values

np.nannp.isnannp.nanmeannp.nansumnp.isfinitenp.nan_to_num

Putting the kettle on…

Starting up…

Exercise 2

Return x with the missing values removed.

your answer
stuck? the lesson behind it
NaN, inf and missing values
Why one gap poisons a whole sum, and why `== np.nan` never finds anything.