is not nan subset dataframe python code example Example: select non nan values python df[~np.isnan(df)]