Thanks for the report. If one has a unique index, then df.loc[df.index[n], "foo"] is also an option. But if index and columns are not unique, then I think you need to find the index you want to change ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results