pandas filter nan values in column code example
Example 1: drop if nan in column pandas
df = df[df['EPS'].notna()]
Example 2: find nan values in a column pandas
df.isnull().sum().sum()
df = df[df['EPS'].notna()]
df.isnull().sum().sum()