Nombre de colonnes sans valeurs manquantes
null_cols = df.columns[df.isnull().all()]
df.drop(null_cols, axis = 1, inplace = True)
Lazy Lion
null_cols = df.columns[df.isnull().all()]
df.drop(null_cols, axis = 1, inplace = True)
null_cols = df.columns[df.isnull().any()]