📜  带有 IN 的 pandas 过滤列 - Python 代码示例

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

代码示例1
#To select rows whose column value is in list 
years = [1952, 2007]
gapminder.year.isin(years)