if a specific column name is present drop tyhe column code example
Example: if a specific column name is present drop tyhe column
df.columns.str.startswith('Test')
# array([ True, False, False, False])
df.loc[:,~df.columns.str.startswith('Test')]
toto test2 riri
0 x x x
1 x x x