Pandy eksplorujące DataFrame

df[(df["col"] >= x ) & (df["col"] <= y )]

but it's more readable to use 

df[df["col"].between(x,y)]
rudythealchemist