python filter rows where column NaN code example Example: select non nan values python df[~np.isnan(df)]