if col contain nan drop that column pandas code example
Example 1: drop if nan in column pandas
df = df[df['EPS'].notna()]
Example 2: show all rows with nan for a column value pandas
df[df['col'].isnull()]
df = df[df['EPS'].notna()]
df[df['col'].isnull()]