import pandas as pd def filter_instructions(df): f = (df['custom.type'] != 'Instructions') return df[f]