I have a big data frame and I want to filter it according to the COUNTRY
column. I need the data from European countries and I wrote :
country=['Austria', 'Belgium', 'Bulgaria', 'Croatia', 'Republic of Cyprus', 'Czech Republic',
'Denmark', 'Estonia', 'Finland', 'France', 'Germany', 'Greece', 'Hungary', 'Ireland', 'Italy',
'Latvia', 'Lithuania', 'Luxembourg', 'Malta', 'Netherlands', 'Poland', 'Portugal', 'Romania',
'Slovakia', 'Slovenia', 'Spain' , 'Sweden']
filtered_df = Data[Data.COUNTRY.isin(country)]'
but it doesn't show the rows of these mentioned countries in data frame! any idea?