📜  pandas 过滤列表中的行 - Python 代码示例

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

代码示例1
value_list = ["apple"]
boolean_series = df.fruit.isin(value_list)
filtered_df = df[boolean_series]