Pandas explorando o DataFrame
df[(df["col"] >= x ) & (df["col"] <= y )]
but it's more readable to use
df[df["col"].between(x,y)]
rudythealchemist
df[(df["col"] >= x ) & (df["col"] <= y )]
but it's more readable to use
df[df["col"].between(x,y)]