filter dataframe using range of values code example Example: pandas dataframe scan column for values between numbers df = df[df['closing_price'].between(99, 101)]