df_update = DataFrame.from_dict(row_replacements, orient='index')
df_update.columns = ['b', 'c']
df_test.update(df_update)
df_test
Using a dictionary to replace column values on given index numbers on a pandas dataframe