Значения вне диапазона панды
# Get rid of values inside a range for a defined column
df = df[~df['column_name'].between(lower_boundary,upper_boundary)]
The Frenchy
# Get rid of values inside a range for a defined column
df = df[~df['column_name'].between(lower_boundary,upper_boundary)]