open_in_new
content_copy
df.loc[:,~df.columns.str.contains('^test', case=False)]