how to remove nan on a table python pandas dataframe code example Example: drop if nan in column pandas df = df[df['EPS'].notna()]