how to select only n/a rows in pandas dataframe code example Example: select non nan values python df[~np.isnan(df)]