remove a level of columns pandas code example
Example: remove columns that start with pandas
cols = [c for c in df.columns if c.lower()[:6] != 'string']
df=df[cols]
cols = [c for c in df.columns if c.lower()[:6] != 'string']
df=df[cols]