# Get rid of values inside a range for a defined column df = df[~df['column_name'].between(lower_boundary,upper_boundary)]