how to cut columns off dataframe 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]