ประเทศใดในยุโรปที่มีผู้ผลิตรถยนต์อย่างน้อย 3 ราย
Which countries in europe have at least 3 car manufacturers?
df_COUNTRIES = pd.DataFrame(columns=['CountryName', 'Continent', 'CountryId']); df_CONTINENTS = pd.DataFrame(columns=['ContId', 'Continent']); df_CAR_MAKERS = pd.DataFrame(columns=['Country'])
df_COUNTRIES[df_COUNTRIES['CountryId'].isin(df_CAR_MAKERS['Country']) & (df_COUNTRIES['Continent'] == 'europe')].groupby('CountryName').filter(lambda x: len(x) >= 3)