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