df_new = df.sort_values(by=['qty'], ascending=False)
cnt = 1
for i, item in df_new.iterrows():
if cnt <= 5:
item['qty'] = item['qty'] + 1
cnt += 1
df_new = df.sort_values(by=['qty'], ascending=False)
df_new.qty.loc[:4]=df_new.qty.loc[:4]+1