Pandy zastępują ostatnią komórkę

df.loc[df.index[-1], 'YourLastColumnName'] = newvalue
Powerful Penguin