pandas 0.9.0 documentation

pandas.Series.between

Series.between(left, right, inclusive=True)

Return boolean Series equivalent to left <= series <= right. NA values will be treated as False

Parameters :

left : scalar

Left boundary

right : scalar

Right boundary

Returns :

is_between : Series