Calling function on a list object
You can simply use df.loc to achieve what you want. Assuming indice is the list of indices where you want to make the changes, do:

main_df.loc[indice, 'column_name'] = new_value