delete columns with header names starting with str code example Example: python drop all variable that start with the same name df.filter(like='result',axis=1)