I have this DataFrame and want only the records whose EPS column is not NaN:
DataFrame
EPS
NaN
>>> df STK_ID
Another version:
df[~df['EPS'].isna()]