I have a text file which has been read into pandas by df1 = pandas.read_csv(r'fruits.txt', sep=',')
item freshness
0 apple 2.2
1 pear 0.0
and a series of calculations that would yield the result of apple = 2.3
Is it possible to do a pandas.update so that I can update the value of freshness for apple in the dataframe to 2.3?