how to remove rows with na in a certain column python code example Example: drop if nan in column pandas df = df[df['EPS'].notna()]