df = df[df.columns[~df.columns.isin(['column_to_exclude'])]]
df2 = df[df.columns.difference(['B', 'D'])]