Déposez la ligne si toutes les valeurs sont nan
df = df.dropna(axis = 0, how = 'all')
Tender Turtle
df = df.dropna(axis = 0, how = 'all')
df = df[df['EPS'].notna()]
a = a[~(np.isnan(a).any(axis=1))] # removes rows containing at least one nan
a = a[~(np.isnan(a).all(axis=1))] # removes rows containing all nan
df.dropna(axis = 0, how = 'all', inplace = True)
df.dropna(subset=[columns],inplace=True)
df = df.dropna(axis = 0)