pandas filter columns with in

Solutions on MaxInterview for pandas filter columns with in by the best coders in the world

showing results for - "pandas filter columns with in"
Juan Manuel
12 Nov 2019
1#To select rows whose column value is in list 
2years = [1952, 2007]
3gapminder.year.isin(years)
4