``` ~np.isna(i) and (i is not None) ``` is not valid if `i` is `None`. While ``` (i is not None) and ~np.isna(i) ``` works for both float and NoneType.