How to drop rows of Pandas DataFrame whose value in a certain column is NaN

Don’t drop, just take the rows where EPS is not NA:

df = df[df['EPS'].notna()]

Leave a Comment