remove rows that contain na in specific columns pandas code example Example: drop if nan in column pandas df = df[df['EPS'].notna()]