uniqueyears = data.year.unique()
print(uniqueyears)
new_object_with_max_pop = data[‘pop’].max()
print(new_object_with_max_pop)
new_object_with_idxmax_pop = data[‘pop’].idxmax()
print(data.loc[new_object_with_idxmax_pop])
cont = ‘Europe’
idxCont = data[‘continent’]==cont
temp = data[idxCont]
year = 1957
idxYear = temp[‘year’]==year
data_final = temp[idxYear]
idx_min = data_final[‘pop’].idxmin()
print(data_final.loc[idx_min])
year = 2007
idxYear = temp[‘year’]==year
data_final = temp[idxYear]
place = data_final[‘country’] ==’Iceland’
print(data_final[place])