Pandas filtruje kolumny z IN

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