pandas select rows without nan in column code example Example: select non nan values python df[~np.isnan(df)]