exclure les colonnes en df
df2 = df[df.columns.difference(['B', 'D'])]
Lazy Lizard
df2 = df[df.columns.difference(['B', 'D'])]