📜  熊猫探索数据框 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:11.330000             🧑  作者: Mango

代码示例1
df[(df["col"] >= x ) & (df["col"] <= y )]

but it's more readable to use 

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