pandas find nan rows which are not nan in a column code example Example: select non nan values python df[~np.isnan(df)]