Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas replace last cell

df.loc[df.index[-1], 'YourLastColumnName'] = newvalue
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #replace #cell
ADD COMMENT
Topic
Name
6+2 =