pandas fastest way to remove NaN code example Example: drop if nan in column pandas df = df[df['EPS'].notna()]