To get the values that are smaller than the upper bound and larger than the lower bound, use pandas.Series.between method.
In the code above, I obtained the values between 0 and 10 using between.