📌  相关文章
📜  过滤数据帧多个条件 - Python 代码示例

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

代码示例1
# when you wrap conditions in parantheses, you give order
# you do those in brackets first before 'and'
# AND
movies[(movies.duration >= 200) & (movies.genre == 'Drama')]