intent: How to remove multiple columns that end with same text in Pandas?
rewritten_intent: get a dataframe `df2` that contains all the columns of dataframe `df` that do not end in `prefix`
snippet: df2 = df.ix[:, (~df.columns.str.endswith('prefix'))]