kolom filter panda dengan IN

#To select rows whose column value is in list 
years = [1952, 2007]
gapminder.year.isin(years)
Wide-eyed Worm