pandas how to show rows in no NaN code example Example: select non nan values python df[~np.isnan(df)]