Can't select medium values of df category
``` 
medium prices
use_medium = df[ 2.5 < df.Price | df.Price < 7]
use_medium
```
Almost tried:
```
use_medium = df[ 2.5 < df.Price < 7]
use_medium = df[2.5 < df.Price & df.Price<7]
```

#### Problem description

I need to select the elements with prices under 7. 

#### Expected Output

DF showing the elements with prices between 2.5 and 7.

#### Output of ``pd.show_versions()``

<details>

TypeError: unsupported operand type(s) for |: 'float' and 'bool' 
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
c:\users\chamena\envs\tuto\lib\site-packages\pandas\core\ops.py in na_op(x, y)
   1303         try:
-> 1304             result = op(x, y)
   1305         except TypeError:

TypeError: ufunc 'bitwise_or' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

During handling of the above exception, another exception occurred:

TypeError                                 Traceback (most recent call last)
<ipython-input-392-b1410cb984bb> in <module>()
      1 #medium prices
----> 2 use_medium = df[ 2.5 < df.Price | df.Price < 7]
      3 use_medium

c:\users\chamena\envs\tuto\lib\site-packages\pandas\core\ops.py in wrapper(self, other)
   1348                       else fill_bool)
   1349 
-> 1350             res_values = na_op(self.values, other.values)
   1351             unfilled = self._constructor(res_values,
   1352                                          index=self.index, name=name)

c:\users\chamena\envs\tuto\lib\site-packages\pandas\core\ops.py in na_op(x, y)
   1313                     x = _ensure_object(x)
   1314                     y = _ensure_object(y)
-> 1315                     result = libops.vec_binop(x, y, op)
   1316             else:
   1317                 # let null fall thru

pandas\_libs\ops.pyx in pandas._libs.ops.vec_binop()

pandas\_libs\ops.pyx in pandas._libs.ops.vec_binop()

TypeError: unsupported operand type(s) for |: 'float' and 'bool'
</details>
Sorry if im bad in sth of the topic, im new here.