I’m working on completing a Udacity Data Analysis project, and I need to manually clean some of the data. Here, I try to assign certain numerator and denominator values to some rows, but for whatever reason the data doesn’t change at all afterward.
id = [857, 953, 990, 1438, 2096]
numerator = [14, 13, 11, 10, 9]
for i in range(5):
merged_archive.loc[id[i], 'denominator'] = 10
merged_archive.loc[id[i], 'numerator'] = numerator[i]
1